#CB72FB#CB72FB

#CB72FB is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.6% C 0.207 H 312.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CB72FB
RGBrgb(203, 114, 251)
HSLhsl(279, 94%, 72%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(19.1%, 54.6%, 0%, 1.6%)
CIE-LABlab(63.09, 57.41, -54.63)
CIE-LCHlch(63.09, 79.25, 316.42°)
OKLaboklab(70.61% 0.139 -0.153)
OKLCHoklch(70.61% 0.207 312.3)
XYZxyz(48.0554, 31.6973, 94.8348)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72FB #A2FB72
analogous
#8772FB #CB72FB #FB72E7
triadic
#CB72FB #FBCB72 #72FBCB
tetradic
#CB72FB #FB8772 #A2FB72 #72E7FB
square
#CB72FB #FB8772 #A2FB72 #72E7FB
split-complementary
#CB72FB #E7FB72 #72FB87
monochromatic
#9C07EC #B536F9 #CB72FB #E1AEFD #F4E1FE

Accessibility & contrast

On white

2.86
#CB72FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CB72FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72FB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72FB#FFFFFF#000000##000000
##CB72FB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#C68AAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb72fb;
/* rgb */ color: rgb(203, 114, 251);
/* oklch */ color: oklch(70.6% 0.207 312.3);
Tailwind
colors: {
  custom: {
    50: '#de9efd',
    500: '#cb72fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb72fb;
$custom-light: #de9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72fb",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 278.978,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.20674,
    "h": 312.3
  },
  "luminance": 0.31696
}

Semantic roles & 50–950 ramp

primary
#CB72FB
secondary
#DFF6D3
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB72FB

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

Preview Lab → · Contrast checker → · Palette generator →

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