#CB72EF#CB72EF

#CB72EF is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.194 H 315.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CB72EF
RGBrgb(203, 114, 239)
HSLhsl(283, 80%, 69%)
HSVhsv(283, 52%, 94%)
CMYKcmyk(15.1%, 52.3%, 0%, 6.3%)
CIE-LABlab(62.48, 54.93, -48.98)
CIE-LCHlch(62.48, 73.60, 318.28°)
OKLaboklab(69.96% 0.1382 -0.1365)
OKLCHoklch(69.96% 0.194 315.3)
XYZxyz(46.2235, 30.9645, 85.1864)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72EF #96EF72
analogous
#8D72EF #CB72EF #EF72D5
triadic
#CB72EF #EFCB72 #72EFCB
tetradic
#CB72EF #EF8D72 #96EF72 #72D5EF
square
#CB72EF #EF8D72 #96EF72 #72D5EF
split-complementary
#CB72EF #D5EF72 #72EF8D
monochromatic
#9A18CF #B73BE9 #CB72EF #DFA9F5 #F4E0FB

Accessibility & contrast

On white

2.92
#CB72EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CB72EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72EF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72EF#FFFFFF#000000##000000
##CB72EF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#C986A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb72ef;
/* rgb */ color: rgb(203, 114, 239);
/* oklch */ color: oklch(70.0% 0.194 315.3);
Tailwind
colors: {
  custom: {
    50: '#dd9ef5',
    500: '#cb72ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb72ef;
$custom-light: #dd9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72ef",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 282.72,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.19426,
    "h": 315.3
  },
  "luminance": 0.30963
}

Semantic roles & 50–950 ramp

primary
#CB72EF
secondary
#D7F1CC
accent
#DC0A46
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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