#CB71FD#CB71FD

#CB71FD is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.6% C 0.210 H 311.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CB71FD
RGBrgb(203, 113, 253)
HSLhsl(279, 97%, 72%)
HSVhsv(279, 55%, 99%)
CMYKcmyk(19.8%, 55.3%, 0%, 0.8%)
CIE-LABlab(63.01, 58.33, -55.86)
CIE-LCHlch(63.01, 80.76, 316.24°)
OKLaboklab(70.58% 0.1404 -0.1566)
OKLCHoklch(70.58% 0.21 311.9)
XYZxyz(48.2602, 31.5997, 96.4665)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71FD #A3FD71
analogous
#8571FD #CB71FD #FD71E9
triadic
#CB71FD #FDCB71 #71FDCB
tetradic
#CB71FD #FD8571 #A3FD71 #71E9FD
square
#CB71FD #FD8571 #A3FD71 #71E9FD
split-complementary
#CB71FD #E9FD71 #71FD85
monochromatic
#9C03F0 #B535FC #CB71FD #E1ADFE #F4E1FF

Accessibility & contrast

On white

2.87
#CB71FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CB71FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71FD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71FD#FFFFFF#000000##000000
##CB71FD1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#689AFA
Tritanopia (blue-blind)
#C689AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb71fd;
/* rgb */ color: rgb(203, 113, 253);
/* oklch */ color: oklch(70.6% 0.210 311.9);
Tailwind
colors: {
  custom: {
    50: '#de9dff',
    500: '#cb71fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb71fd;
$custom-light: #de9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71fd",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 278.571,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.21031,
    "h": 311.9
  },
  "luminance": 0.31599
}

Semantic roles & 50–950 ramp

primary
#CB71FD
secondary
#E0F7D3
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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