#CB7EE5#CB7EE5

#CB7EE5 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.165 H 317.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CB7EE5
RGBrgb(203, 126, 229)
HSLhsl(285, 66%, 70%)
HSVhsv(285, 45%, 90%)
CMYKcmyk(11.4%, 45%, 0%, 10.2%)
CIE-LABlab(64.38, 46.73, -40.44)
CIE-LCHlch(64.38, 61.80, 319.13°)
OKLaboklab(71.21% 0.1207 -0.1119)
OKLCHoklch(71.21% 0.165 317.2)
XYZxyz(46.2303, 33.2768, 78.1013)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EE5 #98E57E
analogous
#977EE5 #CB7EE5 #E57ECC
triadic
#CB7EE5 #E5CB7E #7EE5CB
tetradic
#CB7EE5 #E5977E #98E57E #7ECCE5
square
#CB7EE5 #E5977E #98E57E #7ECCE5
split-complementary
#CB7EE5 #CCE57E #7EE597
monochromatic
#9B27C2 #B64BDB #CB7EE5 #E0B1EF #F4E4FA

Accessibility & contrast

On white

2.74
#CB7EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB7EE5#FFFFFF#000000##000000
##CB7EE51.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E9
Deuteranopia (green-blind)
#819FE2
Tritanopia (blue-blind)
#CA8CA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7ee5;
/* rgb */ color: rgb(203, 126, 229);
/* oklch */ color: oklch(71.2% 0.165 317.2);
Tailwind
colors: {
  custom: {
    50: '#dca5ed',
    500: '#cb7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ee5;
$custom-light: #dca5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ee5",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 284.854,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71214,
    "c": 0.16453,
    "h": 317.2
  },
  "luminance": 0.33275
}

Semantic roles & 50–950 ramp

primary
#CB7EE5
secondary
#D8EED1
accent
#CE1745
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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