#CB71F9#CB71F9

#CB71F9 is a light, highly saturated violet. Relative luminance 0.313; OKLCH L 70.4% C 0.206 H 312.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CB71F9
RGBrgb(203, 113, 249)
HSLhsl(280, 92%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.5%, 54.6%, 0%, 2.4%)
CIE-LABlab(62.80, 57.49, -54.00)
CIE-LCHlch(62.80, 78.87, 316.79°)
OKLaboklab(70.36% 0.1402 -0.1511)
OKLCHoklch(70.36% 0.206 312.8)
XYZxyz(47.6297, 31.3475, 93.1458)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71F9 #9FF971
analogous
#8771F9 #CB71F9 #F971E3
triadic
#CB71F9 #F9CB71 #71F9CB
tetradic
#CB71F9 #F98771 #9FF971 #71E3F9
square
#CB71F9 #F98771 #9FF971 #71E3F9
split-complementary
#CB71F9 #E3F971 #71F987
monochromatic
#9B0AE6 #B536F7 #CB71F9 #E1ACFB #F4E2FE

Accessibility & contrast

On white

2.89
#CB71F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CB71F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71F9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71F9#FFFFFF#000000##000000
##CB71F91.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#C688AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb71f9;
/* rgb */ color: rgb(203, 113, 249);
/* oklch */ color: oklch(70.4% 0.206 312.8);
Tailwind
colors: {
  custom: {
    50: '#de9dfc',
    500: '#cb71f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb71f9;
$custom-light: #de9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71f9",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 279.706,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70357,
    "c": 0.20615,
    "h": 312.8
  },
  "luminance": 0.31346
}

Semantic roles & 50–950 ramp

primary
#CB71F9
secondary
#DDF5D1
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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