#CB71FC#CB71FC

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

Color values

HEX#CB71FC
RGBrgb(203, 113, 252)
HSLhsl(279, 96%, 72%)
HSVhsv(279, 55%, 99%)
CMYKcmyk(19.4%, 55.2%, 0%, 1.2%)
CIE-LABlab(62.96, 58.12, -55.40)
CIE-LCHlch(62.96, 80.29, 316.37°)
OKLaboklab(70.52% 0.1404 -0.1552)
OKLCHoklch(70.52% 0.209 312.1)
XYZxyz(48.1013, 31.5362, 95.6298)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71FC #A2FC71
analogous
#8671FC #CB71FC #FC71E8
triadic
#CB71FC #FCCB71 #71FCCB
tetradic
#CB71FC #FC8671 #A2FC71 #71E8FC
square
#CB71FC #FC8671 #A2FC71 #71E8FC
split-complementary
#CB71FC #E8FC71 #71FC86
monochromatic
#9C05EE #B535FB #CB71FC #E1ADFD #F4E1FE

Accessibility & contrast

On white

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

On black

7.31
#CB71FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71FC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71FC#FFFFFF#000000##000000
##CB71FC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#C689AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb71fc;
/* rgb */ color: rgb(203, 113, 252);
/* oklch */ color: oklch(70.5% 0.209 312.1);
Tailwind
colors: {
  custom: {
    50: '#de9dfe',
    500: '#cb71fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb71fc;
$custom-light: #de9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71fc",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 278.849,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70524,
    "c": 0.20927,
    "h": 312.1
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#CB71FC
secondary
#DFF6D3
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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