#CB7EDF#CB7EDF

#CB7EDF is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.158 H 319.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CB7EDF
RGBrgb(203, 126, 223)
HSLhsl(288, 60%, 68%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(9%, 43.5%, 0%, 12.5%)
CIE-LABlab(64.12, 45.53, -37.52)
CIE-LCHlch(64.12, 59.00, 320.51°)
OKLaboklab(70.93% 0.1196 -0.1035)
OKLCHoklch(70.93% 0.158 319.1)
XYZxyz(45.4070, 32.9474, 73.7653)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EDF #92DF7E
analogous
#9A7EDF #CB7EDF #DF7EC2
triadic
#CB7EDF #DFCB7E #7EDFCB
tetradic
#CB7EDF #DF9A7E #92DF7E #7EC2DF
square
#CB7EDF #DF9A7E #92DF7E #7EC2DF
split-complementary
#CB7EDF #C2DF7E #7EDF9A
monochromatic
#992DB6 #B74DD3 #CB7EDF #DFAFEB #F3E0F7

Accessibility & contrast

On white

2.77
#CB7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CB7EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EDF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EDF#FFFFFF#000000##000000
##CB7EDF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#CC8BA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7edf;
/* rgb */ color: rgb(203, 126, 223);
/* oklch */ color: oklch(70.9% 0.158 319.1);
Tailwind
colors: {
  custom: {
    50: '#dca5e9',
    500: '#cb7edf',
    950: '#000000',
  },
}
SCSS
$custom: #cb7edf;
$custom-light: #dca5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7edf",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 287.629,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70928,
    "c": 0.15818,
    "h": 319.1
  },
  "luminance": 0.32946
}

Semantic roles & 50–950 ramp

primary
#CB7EDF
secondary
#D4EBCE
accent
#C81E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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