#CB72F2#CB72F2

#CB72F2 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.197 H 314.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CB72F2
RGBrgb(203, 114, 242)
HSLhsl(282, 83%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(16.1%, 52.9%, 0%, 5.1%)
CIE-LABlab(62.63, 55.55, -50.40)
CIE-LCHlch(62.63, 75.01, 317.78°)
OKLaboklab(70.12% 0.1384 -0.1407)
OKLCHoklch(70.12% 0.197 314.5)
XYZxyz(46.6703, 31.1433, 87.5400)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72F2 #99F272
analogous
#8B72F2 #CB72F2 #F272D9
triadic
#CB72F2 #F2CB72 #72F2CB
tetradic
#CB72F2 #F28B72 #99F272 #72D9F2
square
#CB72F2 #F28B72 #99F272 #72D9F2
split-complementary
#CB72F2 #D9F272 #72F28B
monochromatic
#9B14D6 #B63AED #CB72F2 #E0AAF7 #F4E2FC

Accessibility & contrast

On white

2.91
#CB72F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CB72F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72F2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72F2#FFFFFF#000000##000000
##CB72F21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#C887A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb72f2;
/* rgb */ color: rgb(203, 114, 242);
/* oklch */ color: oklch(70.1% 0.197 314.5);
Tailwind
colors: {
  custom: {
    50: '#dd9ef7',
    500: '#cb72f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb72f2;
$custom-light: #dd9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72f2",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 281.719,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70115,
    "c": 0.19737,
    "h": 314.5
  },
  "luminance": 0.31142
}

Semantic roles & 50–950 ramp

primary
#CB72F2
secondary
#D9F2CE
accent
#E00648
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72F2

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

Preview Lab → · Contrast checker → · Palette generator →

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