#CB72ED#CB72ED

#CB72ED is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.192 H 315.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CB72ED
RGBrgb(203, 114, 237)
HSLhsl(283, 77%, 69%)
HSVhsv(283, 52%, 93%)
CMYKcmyk(14.3%, 51.9%, 0%, 7.1%)
CIE-LABlab(62.38, 54.53, -48.03)
CIE-LCHlch(62.38, 72.66, 318.62°)
OKLaboklab(69.85% 0.138 -0.1338)
OKLCHoklch(69.85% 0.192 315.9)
XYZxyz(45.9297, 30.8470, 83.6390)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72ED #94ED72
analogous
#8E72ED #CB72ED #ED72D1
triadic
#CB72ED #EDCB72 #72EDCB
tetradic
#CB72ED #ED8E72 #94ED72 #72D1ED
square
#CB72ED #ED8E72 #94ED72 #72D1ED
split-complementary
#CB72ED #D1ED72 #72ED8E
monochromatic
#9A1ACB #B73CE6 #CB72ED #DFA8F4 #F3DFFB

Accessibility & contrast

On white

2.93
#CB72ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CB72ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72ED
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72ED#FFFFFF#000000##000000
##CB72ED1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F1
Deuteranopia (green-blind)
#7399EA
Tritanopia (blue-blind)
#C985A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb72ed;
/* rgb */ color: rgb(203, 114, 237);
/* oklch */ color: oklch(69.8% 0.192 315.9);
Tailwind
colors: {
  custom: {
    50: '#dd9ef3',
    500: '#cb72ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb72ed;
$custom-light: #dd9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72ed",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 283.415,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69849,
    "c": 0.1922,
    "h": 315.9
  },
  "luminance": 0.30846
}

Semantic roles & 50–950 ramp

primary
#CB72ED
secondary
#D5F0CB
accent
#DA0C45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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