#CB71FB#CB71FB

#CB71FB is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.5% C 0.208 H 312.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CB71FB
RGBrgb(203, 113, 251)
HSLhsl(279, 95%, 71%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(19.1%, 55%, 0%, 1.6%)
CIE-LABlab(62.90, 57.91, -54.93)
CIE-LCHlch(62.90, 79.82, 316.51°)
OKLaboklab(70.47% 0.1403 -0.1539)
OKLCHoklch(70.47% 0.208 312.4)
XYZxyz(47.9433, 31.4730, 94.7974)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71FB #A1FB71
analogous
#8671FB #CB71FB #FB71E6
triadic
#CB71FB #FBCB71 #71FBCB
tetradic
#CB71FB #FB8671 #A1FB71 #71E6FB
square
#CB71FB #FB8671 #A1FB71 #71E6FB
split-complementary
#CB71FB #E6FB71 #71FB86
monochromatic
#9C07EB #B535F9 #CB71FB #E1ADFD #F4E1FE

Accessibility & contrast

On white

2.88
#CB71FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CB71FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71FB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71FB#FFFFFF#000000##000000
##CB71FB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#C689AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb71fb;
/* rgb */ color: rgb(203, 113, 251);
/* oklch */ color: oklch(70.5% 0.208 312.4);
Tailwind
colors: {
  custom: {
    50: '#de9dfd',
    500: '#cb71fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb71fb;
$custom-light: #de9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71fb",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 279.13,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70468,
    "c": 0.20823,
    "h": 312.4
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

primary
#CB71FB
secondary
#DEF6D2
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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