#CB71F7#CB71F7

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

Color values

HEX#CB71F7
RGBrgb(203, 113, 247)
HSLhsl(280, 89%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(17.8%, 54.3%, 0%, 3.1%)
CIE-LABlab(62.70, 57.08, -53.06)
CIE-LCHlch(62.70, 77.93, 317.09°)
OKLaboklab(70.25% 0.1401 -0.1484)
OKLCHoklch(70.25% 0.204 313.3)
XYZxyz(47.3194, 31.2234, 91.5117)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F7 #9DF771
analogous
#8871F7 #CB71F7 #F771E0
triadic
#CB71F7 #F7CB71 #71F7CB
tetradic
#CB71F7 #F78871 #9DF771 #71E0F7
square
#CB71F7 #F78871 #9DF771 #71E0F7
split-complementary
#CB71F7 #E0F771 #71F788
monochromatic
#9B0DE1 #B637F4 #CB71F7 #E0ABFA #F4E2FD

Accessibility & contrast

On white

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

On black

7.24
#CB71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F7#FFFFFF#000000##000000
##CB71F71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#C787AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb71f7;
/* rgb */ color: rgb(203, 113, 247);
/* oklch */ color: oklch(70.2% 0.204 313.3);
Tailwind
colors: {
  custom: {
    50: '#de9dfa',
    500: '#cb71f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f7;
$custom-light: #de9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f7",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 280.299,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70247,
    "c": 0.20407,
    "h": 313.3
  },
  "luminance": 0.31222
}

Semantic roles & 50–950 ramp

primary
#CB71F7
secondary
#DCF4D0
accent
#E6004B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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