#CB71F6#CB71F6

#CB71F6 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.2% C 0.203 H 313.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CB71F6
RGBrgb(203, 113, 246)
HSLhsl(281, 88%, 70%)
HSVhsv(281, 54%, 96%)
CMYKcmyk(17.5%, 54.1%, 0%, 3.5%)
CIE-LABlab(62.64, 56.87, -52.59)
CIE-LCHlch(62.64, 77.46, 317.24°)
OKLaboklab(70.19% 0.14 -0.147)
OKLCHoklch(70.19% 0.203 313.6)
XYZxyz(47.1655, 31.1618, 90.7012)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F6 #9CF671
analogous
#8971F6 #CB71F6 #F671DE
triadic
#CB71F6 #F6CB71 #71F6CB
tetradic
#CB71F6 #F68971 #9CF671 #71DEF6
square
#CB71F6 #F68971 #9CF671 #71DEF6
split-complementary
#CB71F6 #DEF671 #71F689
monochromatic
#9B0EDE #B637F2 #CB71F6 #E0ABFA #F4E2FD

Accessibility & contrast

On white

2.90
#CB71F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB71F6#FFFFFF#000000##000000
##CB71F61.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FA
Deuteranopia (green-blind)
#6C9AF3
Tritanopia (blue-blind)
#C787A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb71f6;
/* rgb */ color: rgb(203, 113, 246);
/* oklch */ color: oklch(70.2% 0.203 313.6);
Tailwind
colors: {
  custom: {
    50: '#de9dfa',
    500: '#cb71f6',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f6;
$custom-light: #de9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f6",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 280.602,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70192,
    "c": 0.20304,
    "h": 313.6
  },
  "luminance": 0.31161
}

Semantic roles & 50–950 ramp

primary
#CB71F6
secondary
#DBF4CF
accent
#E5014A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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