#CB71FE#CB71FE

#CB71FE is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.6% C 0.211 H 311.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CB71FE
RGBrgb(203, 113, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.1%, 55.5%, 0%, 0.4%)
CIE-LABlab(63.06, 58.54, -56.33)
CIE-LCHlch(63.06, 81.24, 316.10°)
OKLaboklab(70.64% 0.1404 -0.1579)
OKLCHoklch(70.64% 0.211 311.6)
XYZxyz(48.4199, 31.6636, 97.3077)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71FE #A4FE71
analogous
#8571FE #CB71FE #FE71EA
triadic
#CB71FE #FECB71 #71FECB
tetradic
#CB71FE #FE8571 #A4FE71 #71EAFE
square
#CB71FE #FE8571 #A4FE71 #71EAFE
split-complementary
#CB71FE #EAFE71 #71FE85
monochromatic
#9C02F3 #B534FE #CB71FE #E1AEFE #F4E1FF

Accessibility & contrast

On white

2.86
#CB71FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CB71FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71FE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71FE#FFFFFF#000000##000000
##CB71FE1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#C58AAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb71fe;
/* rgb */ color: rgb(203, 113, 254);
/* oklch */ color: oklch(70.6% 0.211 311.6);
Tailwind
colors: {
  custom: {
    50: '#de9dff',
    500: '#cb71fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb71fe;
$custom-light: #de9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71fe",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 278.298,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.21136,
    "h": 311.6
  },
  "luminance": 0.31663
}

Semantic roles & 50–950 ramp

primary
#CB71FE
secondary
#E1F7D4
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #CB71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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