#CE7BE2#CE7BE2

#CE7BE2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.168 H 319.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CE7BE2
RGBrgb(206, 123, 226)
HSLhsl(288, 64%, 68%)
HSVhsv(288, 46%, 89%)
CMYKcmyk(8.8%, 45.6%, 0%, 11.4%)
CIE-LABlab(63.98, 48.56, -39.38)
CIE-LCHlch(63.98, 62.51, 320.96°)
OKLaboklab(70.95% 0.1279 -0.1087)
OKLCHoklch(70.95% 0.168 319.6)
XYZxyz(46.2623, 32.7804, 75.8271)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7BE2 #8FE27B
analogous
#9A7BE2 #CE7BE2 #E27BC2
triadic
#CE7BE2 #E2CE7B #7BE2CE
tetradic
#CE7BE2 #E29A7B #8FE27B #7BC2E2
square
#CE7BE2 #E29A7B #8FE27B #7BC2E2
split-complementary
#CE7BE2 #C2E27B #7BE29A
monochromatic
#9E29BA #BB49D7 #CE7BE2 #E1ADED #F3DFF8

Accessibility & contrast

On white

2.78
#CE7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CE7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7BE2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7BE2#FFFFFF#000000##000000
##CE7BE21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E6
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#CF89A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce7be2;
/* rgb */ color: rgb(206, 123, 226);
/* oklch */ color: oklch(70.9% 0.168 319.6);
Tailwind
colors: {
  custom: {
    50: '#dfa3eb',
    500: '#ce7be2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7be2;
$custom-light: #dfa3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7be2",
  "rgb": {
    "r": 206,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 288.35,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70946,
    "c": 0.16784,
    "h": 319.6
  },
  "luminance": 0.32779
}

Semantic roles & 50–950 ramp

primary
#CE7BE2
secondary
#D3ECCD
accent
#CC1A3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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