#CB71F1#CB71F1

#CB71F1 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.198 H 314.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CB71F1
RGBrgb(203, 113, 241)
HSLhsl(282, 82%, 69%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(15.8%, 53.1%, 0%, 5.5%)
CIE-LABlab(62.39, 55.84, -50.23)
CIE-LCHlch(62.39, 75.11, 318.03°)
OKLaboklab(69.92% 0.1397 -0.1402)
OKLCHoklch(69.92% 0.198 314.9)
XYZxyz(46.4084, 30.8590, 86.7137)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F1 #97F171
analogous
#8B71F1 #CB71F1 #F171D7
triadic
#CB71F1 #F1CB71 #71F1CB
tetradic
#CB71F1 #F18B71 #97F171 #71D7F1
square
#CB71F1 #F18B71 #97F171 #71D7F1
split-complementary
#CB71F1 #D7F171 #71F18B
monochromatic
#9A15D3 #B739EC #CB71F1 #DFA9F6 #F4E0FC

Accessibility & contrast

On white

2.93
#CB71F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CB71F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F1#FFFFFF#000000##000000
##CB71F11.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F5
Deuteranopia (green-blind)
#7099EE
Tritanopia (blue-blind)
#C886A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb71f1;
/* rgb */ color: rgb(203, 113, 241);
/* oklch */ color: oklch(69.9% 0.198 314.9);
Tailwind
colors: {
  custom: {
    50: '#dd9df6',
    500: '#cb71f1',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f1;
$custom-light: #dd9df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f1",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 282.188,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.19786,
    "h": 314.9
  },
  "luminance": 0.30858
}

Semantic roles & 50–950 ramp

primary
#CB71F1
secondary
#D7F1CC
accent
#DE0747
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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