#CE7AFA#CE7AFA

#CE7AFA is a light, vivid violet. Relative luminance 0.339; OKLCH L 72.0% C 0.195 H 312.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CE7AFA
RGBrgb(206, 122, 250)
HSLhsl(279, 93%, 73%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(17.6%, 51.2%, 0%, 2%)
CIE-LABlab(64.92, 53.94, -51.17)
CIE-LCHlch(64.92, 74.35, 316.51°)
OKLaboklab(72.01% 0.1322 -0.1429)
OKLCHoklch(72.01% 0.195 312.8)
XYZxyz(49.6655, 33.9442, 94.3595)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7AFA #A6FA7A
analogous
#8E7AFA #CE7AFA #FA7AE6
triadic
#CE7AFA #FACE7A #7AFACE
tetradic
#CE7AFA #FA8E7A #A6FA7A #7AE6FA
square
#CE7AFA #FA8E7A #A6FA7A #7AE6FA
split-complementary
#CE7AFA #E6FA7A #7AFA8E
monochromatic
#A109F1 #B83FF8 #CE7AFA #E4B5FC #F4E2FE

Accessibility & contrast

On white

2.70
#CE7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CE7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7AFA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7AFA#FFFFFF#000000##000000
##CE7AFA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#759FF7
Tritanopia (blue-blind)
#CA8FAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7afa;
/* rgb */ color: rgb(206, 122, 250);
/* oklch */ color: oklch(72.0% 0.195 312.8);
Tailwind
colors: {
  custom: {
    50: '#dfa3fc',
    500: '#ce7afa',
    950: '#000000',
  },
}
SCSS
$custom: #ce7afa;
$custom-light: #dfa3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7afa",
  "rgb": {
    "r": 206,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 279.375,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.19466,
    "h": 312.8
  },
  "luminance": 0.33943
}

Semantic roles & 50–950 ramp

primary
#CE7AFA
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CE7AFA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CE7AFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva