#CE7BEA#CE7BEA

#CE7BEA is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.3% C 0.176 H 317.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CE7BEA
RGBrgb(206, 123, 234)
HSLhsl(285, 73%, 70%)
HSVhsv(285, 47%, 92%)
CMYKcmyk(12%, 47.4%, 0%, 8.2%)
CIE-LABlab(64.35, 50.15, -43.24)
CIE-LCHlch(64.35, 66.22, 319.23°)
OKLaboklab(71.34% 0.1291 -0.1199)
OKLCHoklch(71.34% 0.176 317.1)
XYZxyz(47.3857, 33.2297, 81.7438)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7BEA #97EA7B
analogous
#977BEA #CE7BEA #EA7BCE
triadic
#CE7BEA #EACE7B #7BEACE
tetradic
#CE7BEA #EA977B #97EA7B #7BCEEA
square
#CE7BEA #EA977B #97EA7B #7BCEEA
split-complementary
#CE7BEA #CEEA7B #7BEA97
monochromatic
#9F20CA #BA46E2 #CE7BEA #E2B0F2 #F5E5FB

Accessibility & contrast

On white

2.75
#CE7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CE7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7BEA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7BEA#FFFFFF#000000##000000
##CE7BEA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EE
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#CD8BA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ce7bea;
/* rgb */ color: rgb(206, 123, 234);
/* oklch */ color: oklch(71.3% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#dfa3f1',
    500: '#ce7bea',
    950: '#000000',
  },
}
SCSS
$custom: #ce7bea;
$custom-light: #dfa3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7bea",
  "rgb": {
    "r": 206,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 284.865,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.71336,
    "c": 0.17615,
    "h": 317.1
  },
  "luminance": 0.33228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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