#CB7EE9#CB7EE9

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

Color values

HEX#CB7EE9
RGBrgb(203, 126, 233)
HSLhsl(283, 71%, 70%)
HSVhsv(283, 46%, 91%)
CMYKcmyk(12.9%, 45.9%, 0%, 8.6%)
CIE-LABlab(64.57, 47.55, -42.37)
CIE-LCHlch(64.57, 63.69, 318.29°)
OKLaboklab(71.41% 0.1213 -0.1174)
OKLCHoklch(71.41% 0.169 315.9)
XYZxyz(46.7952, 33.5027, 81.0766)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EE9 #9CE97E
analogous
#967EE9 #CB7EE9 #E97ED1
triadic
#CB7EE9 #E9CB7E #7EE9CB
tetradic
#CB7EE9 #E9967E #9CE97E #7ED1E9
square
#CB7EE9 #E9967E #9CE97E #7ED1E9
split-complementary
#CB7EE9 #D1E97E #7EE996
monochromatic
#9B22CA #B64AE0 #CB7EE9 #E0B2F2 #F4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB7EE9#FFFFFF#000000##000000
##CB7EE91.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)
#6A98ED
Deuteranopia (green-blind)
#7F9FE6
Tritanopia (blue-blind)
#CA8DA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7ee9;
/* rgb */ color: rgb(203, 126, 233);
/* oklch */ color: oklch(71.4% 0.169 315.9);
Tailwind
colors: {
  custom: {
    50: '#dda5f0',
    500: '#cb7ee9',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ee9;
$custom-light: #dda5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ee9",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 233
  },
  "hsl": {
    "h": 283.178,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71409,
    "c": 0.16882,
    "h": 315.9
  },
  "luminance": 0.33501
}

Semantic roles & 50–950 ramp

primary
#CB7EE9
secondary
#DBF0D3
accent
#D31349
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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