#CB72F8#CB72F8

#CB72F8 is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.4% C 0.204 H 313.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CB72F8
RGBrgb(203, 114, 248)
HSLhsl(280, 91%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(18.1%, 54%, 0%, 2.7%)
CIE-LABlab(62.94, 56.79, -53.23)
CIE-LCHlch(62.94, 77.83, 316.85°)
OKLaboklab(70.44% 0.1389 -0.1489)
OKLCHoklch(70.44% 0.204 313)
XYZxyz(47.5863, 31.5097, 92.3640)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72F8 #9FF872
analogous
#8872F8 #CB72F8 #F872E2
triadic
#CB72F8 #F8CB72 #72F8CB
tetradic
#CB72F8 #F88872 #9FF872 #72E2F8
square
#CB72F8 #F88872 #9FF872 #72E2F8
split-complementary
#CB72F8 #E2F872 #72F888
monochromatic
#9B0BE4 #B538F5 #CB72F8 #E1ACFB #F4E2FE

Accessibility & contrast

On white

2.88
#CB72F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CB72F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72F8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72F8#FFFFFF#000000##000000
##CB72F81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#C789AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb72f8;
/* rgb */ color: rgb(203, 114, 248);
/* oklch */ color: oklch(70.4% 0.204 313.0);
Tailwind
colors: {
  custom: {
    50: '#de9efb',
    500: '#cb72f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb72f8;
$custom-light: #de9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72f8",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 279.851,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7044,
    "c": 0.20361,
    "h": 313
  },
  "luminance": 0.31508
}

Semantic roles & 50–950 ramp

primary
#CB72F8
secondary
#DDF5D1
accent
#E6004D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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