#CB71FA#CB71FA

#CB71FA is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.4% C 0.207 H 312.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CB71FA
RGBrgb(203, 113, 250)
HSLhsl(279, 93%, 71%)
HSVhsv(279, 55%, 98%)
CMYKcmyk(18.8%, 54.8%, 0%, 2%)
CIE-LABlab(62.85, 57.70, -54.46)
CIE-LCHlch(62.85, 79.34, 316.65°)
OKLaboklab(70.41% 0.1402 -0.1525)
OKLCHoklch(70.41% 0.207 312.6)
XYZxyz(47.7860, 31.4101, 93.9694)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71FA #A0FA71
analogous
#8671FA #CB71FA #FA71E4
triadic
#CB71FA #FACB71 #71FACB
tetradic
#CB71FA #FA8671 #A0FA71 #71E4FA
square
#CB71FA #FA8671 #A0FA71 #71E4FA
split-complementary
#CB71FA #E4FA71 #71FA86
monochromatic
#9B08E8 #B536F8 #CB71FA #E1ACFC #F4E1FE

Accessibility & contrast

On white

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

On black

7.28
#CB71FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71FA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71FA#FFFFFF#000000##000000
##CB71FA1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb71fa;
/* rgb */ color: rgb(203, 113, 250);
/* oklch */ color: oklch(70.4% 0.207 312.6);
Tailwind
colors: {
  custom: {
    50: '#de9dfc',
    500: '#cb71fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb71fa;
$custom-light: #de9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71fa",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 279.416,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70413,
    "c": 0.20719,
    "h": 312.6
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#CB71FA
secondary
#DEF5D1
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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