#CB7DE2#CB7DE2

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

Color values

HEX#CB7DE2
RGBrgb(203, 125, 226)
HSLhsl(286, 64%, 69%)
HSVhsv(286, 45%, 89%)
CMYKcmyk(10.2%, 44.7%, 0%, 11.4%)
CIE-LABlab(64.04, 46.65, -39.30)
CIE-LCHlch(64.04, 61.00, 319.89°)
OKLaboklab(70.92% 0.1216 -0.1086)
OKLCHoklch(70.92% 0.163 318.2)
XYZxyz(45.6878, 32.8562, 75.8720)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DE2 #94E27D
analogous
#997DE2 #CB7DE2 #E27DC7
triadic
#CB7DE2 #E2CB7D #7DE2CB
tetradic
#CB7DE2 #E2997D #94E27D #7DC7E2
square
#CB7DE2 #E2997D #94E27D #7DC7E2
split-complementary
#CB7DE2 #C7E27D #7DE299
monochromatic
#9A2ABB #B74BD7 #CB7DE2 #DFAFED #F3E1F8

Accessibility & contrast

On white

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

On black

7.57
#CB7DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DE2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DE2#FFFFFF#000000##000000
##CB7DE21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#CB8BA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7de2;
/* rgb */ color: rgb(203, 125, 226);
/* oklch */ color: oklch(70.9% 0.163 318.2);
Tailwind
colors: {
  custom: {
    50: '#dca4eb',
    500: '#cb7de2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7de2;
$custom-light: #dca4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7de2",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 286.337,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70916,
    "c": 0.16301,
    "h": 318.2
  },
  "luminance": 0.32855
}

Semantic roles & 50–950 ramp

primary
#CB7DE2
secondary
#D5ECCE
accent
#CB1A43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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