#CB72FE#CB72FE

#CB72FE is a light, highly saturated violet. Relative luminance 0.319; OKLCH L 70.8% C 0.210 H 311.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CB72FE
RGBrgb(203, 114, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 55%, 100%)
CMYKcmyk(20.1%, 55.1%, 0%, 0.4%)
CIE-LABlab(63.25, 58.04, -56.03)
CIE-LCHlch(63.25, 80.68, 316.01°)
OKLaboklab(70.77% 0.1392 -0.1571)
OKLCHoklch(70.77% 0.21 311.5)
XYZxyz(48.5321, 31.8880, 97.3451)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72FE #A5FE72
analogous
#8572FE #CB72FE #FE72EB
triadic
#CB72FE #FECB72 #72FECB
tetradic
#CB72FE #FE8572 #A5FE72 #72EBFE
square
#CB72FE #FE8572 #A5FE72 #72EBFE
split-complementary
#CB72FE #EBFE72 #72FE85
monochromatic
#9C02F4 #B535FE #CB72FE #E1AFFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.38
#CB72FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72FE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72FE#FFFFFF#000000##000000
##CB72FE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#C58AAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb72fe;
/* rgb */ color: rgb(203, 114, 254);
/* oklch */ color: oklch(70.8% 0.210 311.5);
Tailwind
colors: {
  custom: {
    50: '#de9eff',
    500: '#cb72fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb72fe;
$custom-light: #de9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72fe",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 278.143,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70773,
    "c": 0.20988,
    "h": 311.5
  },
  "luminance": 0.31887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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