#CB7DEE#CB7DEE

#CB7DEE is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.5% C 0.176 H 314.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CB7DEE
RGBrgb(203, 125, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(14.7%, 47.5%, 0%, 6.7%)
CIE-LABlab(64.59, 49.10, -45.09)
CIE-LCHlch(64.59, 66.66, 317.44°)
OKLaboklab(71.51% 0.1233 -0.1253)
OKLCHoklch(71.51% 0.176 314.5)
XYZxyz(47.3924, 33.5380, 84.8493)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DEE #A0EE7D
analogous
#927DEE #CB7DEE #EE7DD8
triadic
#CB7DEE #EECB7D #7DEECB
tetradic
#CB7DEE #EE927D #A0EE7D #7DD8EE
square
#CB7DEE #EE927D #A0EE7D #7DD8EE
split-complementary
#CB7DEE #D8EE7D #7DEE92
monochromatic
#9B1CD5 #B547E7 #CB7DEE #E1B3F5 #F4E4FB

Accessibility & contrast

On white

2.72
#CB7DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CB7DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DEE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DEE#FFFFFF#000000##000000
##CB7DEE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#C98EAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7dee;
/* rgb */ color: rgb(203, 125, 238);
/* oklch */ color: oklch(71.5% 0.176 314.5);
Tailwind
colors: {
  custom: {
    50: '#dda5f4',
    500: '#cb7dee',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dee;
$custom-light: #dda5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dee",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 281.416,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71506,
    "c": 0.17583,
    "h": 314.5
  },
  "luminance": 0.33537
}

Semantic roles & 50–950 ramp

primary
#CB7DEE
secondary
#DEF2D5
accent
#D90C4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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