#CE7BEF#CE7BEF

#CE7BEF is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.181 H 315.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CE7BEF
RGBrgb(206, 123, 239)
HSLhsl(283, 78%, 71%)
HSVhsv(283, 49%, 94%)
CMYKcmyk(13.8%, 48.5%, 0%, 6.3%)
CIE-LABlab(64.58, 51.16, -45.64)
CIE-LCHlch(64.58, 68.56, 318.26°)
OKLaboklab(71.59% 0.1297 -0.1268)
OKLCHoklch(71.59% 0.181 315.6)
XYZxyz(48.1142, 33.5211, 85.5803)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7BEF #9CEF7B
analogous
#947BEF #CE7BEF #EF7BD6
triadic
#CE7BEF #EFCE7B #7BEFCE
tetradic
#CE7BEF #EF947B #9CEF7B #7BD6EF
square
#CE7BEF #EF947B #9CEF7B #7BD6EF
split-complementary
#CE7BEF #D6EF7B #7BEF94
monochromatic
#A01AD6 #BA44E8 #CE7BEF #E2B2F6 #F5E4FC

Accessibility & contrast

On white

2.73
#CE7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CE7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7BEF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7BEF#FFFFFF#000000##000000
##CE7BEF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#CC8CAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce7bef;
/* rgb */ color: rgb(206, 123, 239);
/* oklch */ color: oklch(71.6% 0.181 315.6);
Tailwind
colors: {
  custom: {
    50: '#dfa3f4',
    500: '#ce7bef',
    950: '#000000',
  },
}
SCSS
$custom: #ce7bef;
$custom-light: #dfa3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7bef",
  "rgb": {
    "r": 206,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 282.931,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71586,
    "c": 0.18141,
    "h": 315.6
  },
  "luminance": 0.3352
}

Semantic roles & 50–950 ramp

primary
#CE7BEF
secondary
#DCF2D3
accent
#DB0B46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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