#CB71FF#CB71FF

#CB71FF is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.7% C 0.212 H 311.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CB71FF
RGBrgb(203, 113, 255)
HSLhsl(278, 100%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20.4%, 55.7%, 0%, 0%)
CIE-LABlab(63.12, 58.75, -56.79)
CIE-LCHlch(63.12, 81.71, 315.97°)
OKLaboklab(70.69% 0.1405 -0.1593)
OKLCHoklch(70.69% 0.212 311.4)
XYZxyz(48.5805, 31.7278, 98.1533)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71FF #A5FF71
analogous
#8471FF #CB71FF #FF71EC
triadic
#CB71FF #FFCB71 #71FFCB
tetradic
#CB71FF #FF8471 #A5FF71 #71ECFF
square
#CB71FF #FF8471 #A5FF71 #71ECFF
split-complementary
#CB71FF #ECFF71 #71FF84
monochromatic
#9C00F6 #B534FF #CB71FF #E1AEFF #F4E0FF

Accessibility & contrast

On white

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

On black

7.35
#CB71FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71FF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71FF#FFFFFF#000000##000000
##CB71FF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#669BFB
Tritanopia (blue-blind)
#C58AAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb71ff;
/* rgb */ color: rgb(203, 113, 255);
/* oklch */ color: oklch(70.7% 0.212 311.4);
Tailwind
colors: {
  custom: {
    50: '#de9dff',
    500: '#cb71ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ff;
$custom-light: #de9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ff",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 278.028,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.21239,
    "h": 311.4
  },
  "luminance": 0.31727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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