#CB71F2#CB71F2

#CB71F2 is a light, vivid purple. Relative luminance 0.309; OKLCH L 70.0% C 0.199 H 314.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CB71F2
RGBrgb(203, 113, 242)
HSLhsl(282, 83%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(16.1%, 53.3%, 0%, 5.1%)
CIE-LABlab(62.44, 56.05, -50.70)
CIE-LCHlch(62.44, 75.58, 317.86°)
OKLaboklab(69.97% 0.1397 -0.1415)
OKLCHoklch(69.97% 0.199 314.6)
XYZxyz(46.5582, 30.9189, 87.5026)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F2 #98F271
analogous
#8A71F2 #CB71F2 #F271D9
triadic
#CB71F2 #F2CB71 #71F2CB
tetradic
#CB71F2 #F28A71 #98F271 #71D9F2
square
#CB71F2 #F28A71 #98F271 #71D9F2
split-complementary
#CB71F2 #D9F271 #71F28A
monochromatic
#9B14D5 #B639ED #CB71F2 #E0A9F7 #F4E1FC

Accessibility & contrast

On white

2.92
#CB71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CB71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F2#FFFFFF#000000##000000
##CB71F21.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6F99EF
Tritanopia (blue-blind)
#C886A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb71f2;
/* rgb */ color: rgb(203, 113, 242);
/* oklch */ color: oklch(70.0% 0.199 314.6);
Tailwind
colors: {
  custom: {
    50: '#dd9df7',
    500: '#cb71f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f2;
$custom-light: #dd9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f2",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 281.86,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69975,
    "c": 0.1989,
    "h": 314.6
  },
  "luminance": 0.30918
}

Semantic roles & 50–950 ramp

primary
#CB71F2
secondary
#D8F2CD
accent
#E00648
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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