#CB72FD#CB72FD

#CB72FD is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.7% C 0.209 H 311.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CB72FD
RGBrgb(203, 114, 253)
HSLhsl(278, 97%, 72%)
HSVhsv(278, 55%, 99%)
CMYKcmyk(19.8%, 54.9%, 0%, 0.8%)
CIE-LABlab(63.20, 57.83, -55.57)
CIE-LCHlch(63.20, 80.20, 316.14°)
OKLaboklab(70.72% 0.1391 -0.1557)
OKLCHoklch(70.72% 0.209 311.8)
XYZxyz(48.3724, 31.8241, 96.5039)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72FD #A4FD72
analogous
#8672FD #CB72FD #FD72EA
triadic
#CB72FD #FDCB72 #72FDCB
tetradic
#CB72FD #FD8672 #A4FD72 #72EAFD
square
#CB72FD #FD8672 #A4FD72 #72EAFD
split-complementary
#CB72FD #EAFD72 #72FD86
monochromatic
#9C03F1 #B536FC #CB72FD #E1AEFE #F4E1FF

Accessibility & contrast

On white

2.85
#CB72FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CB72FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72FD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72FD#FFFFFF#000000##000000
##CB72FD1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#C58AAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb72fd;
/* rgb */ color: rgb(203, 114, 253);
/* oklch */ color: oklch(70.7% 0.209 311.8);
Tailwind
colors: {
  custom: {
    50: '#de9eff',
    500: '#cb72fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb72fd;
$custom-light: #de9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72fd",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 278.417,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70717,
    "c": 0.20883,
    "h": 311.8
  },
  "luminance": 0.31823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB72FD

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

Preview Lab → · Contrast checker → · Palette generator →

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