#CB72F1#CB72F1

#CB72F1 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.196 H 314.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CB72F1
RGBrgb(203, 114, 241)
HSLhsl(282, 82%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(15.8%, 52.7%, 0%, 5.5%)
CIE-LABlab(62.58, 55.34, -49.93)
CIE-LCHlch(62.58, 74.54, 317.94°)
OKLaboklab(70.06% 0.1384 -0.1393)
OKLCHoklch(70.06% 0.196 314.8)
XYZxyz(46.5206, 31.0834, 86.7511)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72F1 #98F172
analogous
#8C72F1 #CB72F1 #F172D8
triadic
#CB72F1 #F1CB72 #72F1CB
tetradic
#CB72F1 #F18C72 #98F172 #72D8F1
square
#CB72F1 #F18C72 #98F172 #72D8F1
split-complementary
#CB72F1 #D8F172 #72F18C
monochromatic
#9B15D4 #B63AEB #CB72F1 #E0AAF7 #F4E1FC

Accessibility & contrast

On white

2.91
#CB72F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CB72F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72F1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72F1#FFFFFF#000000##000000
##CB72F11.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#C886A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb72f1;
/* rgb */ color: rgb(203, 114, 241);
/* oklch */ color: oklch(70.1% 0.196 314.8);
Tailwind
colors: {
  custom: {
    50: '#dd9ef6',
    500: '#cb72f1',
    950: '#000000',
  },
}
SCSS
$custom: #cb72f1;
$custom-light: #dd9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72f1",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 241
  },
  "hsl": {
    "h": 282.047,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70061,
    "c": 0.19633,
    "h": 314.8
  },
  "luminance": 0.31082
}

Semantic roles & 50–950 ramp

primary
#CB72F1
secondary
#D8F2CD
accent
#DE0748
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72F1

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

Preview Lab → · Contrast checker → · Palette generator →

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