#CB71F8#CB71F8

#CB71F8 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.3% C 0.205 H 313.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CB71F8
RGBrgb(203, 113, 248)
HSLhsl(280, 91%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(18.1%, 54.4%, 0%, 2.7%)
CIE-LABlab(62.75, 57.28, -53.53)
CIE-LCHlch(62.75, 78.40, 316.94°)
OKLaboklab(70.3% 0.1401 -0.1498)
OKLCHoklch(70.3% 0.205 313.1)
XYZxyz(47.4741, 31.2853, 92.3266)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F8 #9EF871
analogous
#8771F8 #CB71F8 #F871E1
triadic
#CB71F8 #F8CB71 #71F8CB
tetradic
#CB71F8 #F88771 #9EF871 #71E1F8
square
#CB71F8 #F88771 #9EF871 #71E1F8
split-complementary
#CB71F8 #E1F871 #71F887
monochromatic
#9B0BE3 #B637F5 #CB71F8 #E0ABFB #F4E2FE

Accessibility & contrast

On white

2.89
#CB71F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CB71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F8#FFFFFF#000000##000000
##CB71F81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb71f8;
/* rgb */ color: rgb(203, 113, 248);
/* oklch */ color: oklch(70.3% 0.205 313.1);
Tailwind
colors: {
  custom: {
    50: '#de9dfb',
    500: '#cb71f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f8;
$custom-light: #de9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f8",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70302,
    "c": 0.2051,
    "h": 313.1
  },
  "luminance": 0.31284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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