#CB71F3#CB71F3

#CB71F3 is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.200 H 314.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CB71F3
RGBrgb(203, 113, 243)
HSLhsl(282, 84%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(16.5%, 53.5%, 0%, 4.7%)
CIE-LABlab(62.49, 56.25, -51.18)
CIE-LCHlch(62.49, 76.05, 317.70°)
OKLaboklab(70.03% 0.1398 -0.1429)
OKLCHoklch(70.03% 0.2 314.4)
XYZxyz(46.7088, 30.9792, 88.2957)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F3 #99F371
analogous
#8A71F3 #CB71F3 #F371DA
triadic
#CB71F3 #F3CB71 #71F3CB
tetradic
#CB71F3 #F38A71 #99F371 #71DAF3
square
#CB71F3 #F38A71 #99F371 #71DAF3
split-complementary
#CB71F3 #DAF371 #71F38A
monochromatic
#9B12D7 #B639EE #CB71F3 #E0A9F8 #F4E2FD

Accessibility & contrast

On white

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

On black

7.20
#CB71F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F3#FFFFFF#000000##000000
##CB71F31.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#6E99F0
Tritanopia (blue-blind)
#C886A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb71f3;
/* rgb */ color: rgb(203, 113, 243);
/* oklch */ color: oklch(70.0% 0.200 314.4);
Tailwind
colors: {
  custom: {
    50: '#dd9df7',
    500: '#cb71f3',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f3;
$custom-light: #dd9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f3",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 281.538,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70029,
    "c": 0.19993,
    "h": 314.4
  },
  "luminance": 0.30978
}

Semantic roles & 50–950 ramp

primary
#CB71F3
secondary
#D9F2CE
accent
#E10548
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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