#CB72F9#CB72F9

#CB72F9 is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.5% C 0.205 H 312.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CB72F9
RGBrgb(203, 114, 249)
HSLhsl(280, 92%, 71%)
HSVhsv(280, 54%, 98%)
CMYKcmyk(18.5%, 54.2%, 0%, 2.4%)
CIE-LABlab(62.99, 56.99, -53.70)
CIE-LCHlch(62.99, 78.31, 316.70°)
OKLaboklab(70.49% 0.1389 -0.1503)
OKLCHoklch(70.49% 0.205 312.8)
XYZxyz(47.7418, 31.5719, 93.1832)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72F9 #A0F972
analogous
#8772F9 #CB72F9 #F972E3
triadic
#CB72F9 #F9CB72 #72F9CB
tetradic
#CB72F9 #F98772 #A0F972 #72E3F9
square
#CB72F9 #F98772 #A0F972 #72E3F9
split-complementary
#CB72F9 #E3F972 #72F987
monochromatic
#9B0AE7 #B537F7 #CB72F9 #E1ADFB #F4E2FE

Accessibility & contrast

On white

2.87
#CB72F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CB72F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72F9
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72F9#FFFFFF#000000##000000
##CB72F91.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#6B9AF6
Tritanopia (blue-blind)
#C689AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb72f9;
/* rgb */ color: rgb(203, 114, 249);
/* oklch */ color: oklch(70.5% 0.205 312.8);
Tailwind
colors: {
  custom: {
    50: '#de9efc',
    500: '#cb72f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb72f9;
$custom-light: #de9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72f9",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 279.556,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.20465,
    "h": 312.8
  },
  "luminance": 0.31571
}

Semantic roles & 50–950 ramp

primary
#CB72F9
secondary
#DEF5D2
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72F9

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

Preview Lab → · Contrast checker → · Palette generator →

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