#CB72F7#CB72F7

#CB72F7 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.4% C 0.203 H 313.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CB72F7
RGBrgb(203, 114, 247)
HSLhsl(280, 89%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(17.8%, 53.8%, 0%, 3.1%)
CIE-LABlab(62.88, 56.58, -52.76)
CIE-LCHlch(62.88, 77.36, 317.00°)
OKLaboklab(70.38% 0.1388 -0.1475)
OKLCHoklch(70.38% 0.203 313.3)
XYZxyz(47.4316, 31.4478, 91.5491)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB72F7 #9EF772
analogous
#8872F7 #CB72F7 #F772E1
triadic
#CB72F7 #F7CB72 #72F7CB
tetradic
#CB72F7 #F78872 #9EF772 #72E1F7
square
#CB72F7 #F78872 #9EF772 #72E1F7
split-complementary
#CB72F7 #E1F772 #72F788
monochromatic
#9B0DE2 #B638F4 #CB72F7 #E0ACFA #F4E2FD

Accessibility & contrast

On white

2.88
#CB72F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CB72F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB72F7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB72F7#FFFFFF#000000##000000
##CB72F71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#6D9AF4
Tritanopia (blue-blind)
#C788AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb72f7;
/* rgb */ color: rgb(203, 114, 247);
/* oklch */ color: oklch(70.4% 0.203 313.3);
Tailwind
colors: {
  custom: {
    50: '#de9efa',
    500: '#cb72f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb72f7;
$custom-light: #de9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb72f7",
  "rgb": {
    "r": 203,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 280.15,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70385,
    "c": 0.20257,
    "h": 313.3
  },
  "luminance": 0.31447
}

Semantic roles & 50–950 ramp

primary
#CB72F7
secondary
#DCF4D1
accent
#E6004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB72F7

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

Preview Lab → · Contrast checker → · Palette generator →

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