#CE7AEA#CE7AEA

#CE7AEA is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.178 H 317.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CE7AEA
RGBrgb(206, 122, 234)
HSLhsl(285, 73%, 70%)
HSVhsv(285, 48%, 92%)
CMYKcmyk(12%, 47.9%, 0%, 8.2%)
CIE-LABlab(64.15, 50.66, -43.56)
CIE-LCHlch(64.15, 66.81, 319.31°)
OKLaboklab(71.19% 0.1304 -0.1208)
OKLCHoklch(71.19% 0.178 317.2)
XYZxyz(47.2623, 32.9829, 81.7027)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7AEA #96EA7A
analogous
#967AEA #CE7AEA #EA7ACE
triadic
#CE7AEA #EACE7A #7AEACE
tetradic
#CE7AEA #EA967A #96EA7A #7ACEEA
square
#CE7AEA #EA967A #96EA7A #7ACEEA
split-complementary
#CE7AEA #CEEA7A #7AEA96
monochromatic
#9F20CA #BB45E2 #CE7AEA #E1AFF2 #F5E4FB

Accessibility & contrast

On white

2.76
#CE7AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CE7AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7AEA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7AEA#FFFFFF#000000##000000
##CE7AEA1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#CD8AA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce7aea;
/* rgb */ color: rgb(206, 122, 234);
/* oklch */ color: oklch(71.2% 0.178 317.2);
Tailwind
colors: {
  custom: {
    50: '#dfa3f1',
    500: '#ce7aea',
    950: '#000000',
  },
}
SCSS
$custom: #ce7aea;
$custom-light: #dfa3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7aea",
  "rgb": {
    "r": 206,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 285,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71188,
    "c": 0.17776,
    "h": 317.2
  },
  "luminance": 0.32981
}

Semantic roles & 50–950 ramp

primary
#CE7AEA
secondary
#D8F0D0
accent
#D51142
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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