#CB72FF#CB72FF

#CB72FF is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.8% C 0.211 H 311.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CB72FF
RGBrgb(203, 114, 255)
HSLhsl(278, 100%, 72%)
HSVhsv(278, 55%, 100%)
CMYKcmyk(20.4%, 55.3%, 0%, 0%)
CIE-LABlab(63.30, 58.25, -56.50)
CIE-LCHlch(63.30, 81.15, 315.88°)
OKLaboklab(70.83% 0.1392 -0.1584)
OKLCHoklch(70.83% 0.211 311.3)
XYZxyz(48.6926, 31.9522, 98.1907)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72FF #A6FF72
analogous
#8472FF #CB72FF #FF72ED
triadic
#CB72FF #FFCB72 #72FFCB
tetradic
#CB72FF #FF8472 #A6FF72 #72EDFF
square
#CB72FF #FF8472 #A6FF72 #72EDFF
split-complementary
#CB72FF #EDFF72 #72FF84
monochromatic
#9C00F7 #B435FF #CB72FF #E2AFFF #F4E0FF

Accessibility & contrast

On white

2.84
#CB72FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CB72FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72FF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72FF#FFFFFF#000000##000000
##CB72FF1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4795FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#C58BAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb72ff;
/* rgb */ color: rgb(203, 114, 255);
/* oklch */ color: oklch(70.8% 0.211 311.3);
Tailwind
colors: {
  custom: {
    50: '#de9eff',
    500: '#cb72ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb72ff;
$custom-light: #de9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72ff",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 277.872,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.21092,
    "h": 311.3
  },
  "luminance": 0.31951
}

Semantic roles & 50–950 ramp

primary
#CB72FF
secondary
#E1F7D4
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB72FF

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

Preview Lab → · Contrast checker → · Palette generator →

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