#CB71ED#CB71ED

#CB71ED is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.194 H 316.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CB71ED
RGBrgb(203, 113, 237)
HSLhsl(284, 78%, 69%)
HSVhsv(284, 52%, 93%)
CMYKcmyk(14.3%, 52.3%, 0%, 7.1%)
CIE-LABlab(62.19, 55.03, -48.33)
CIE-LCHlch(62.19, 73.24, 318.71°)
OKLaboklab(69.71% 0.1393 -0.1346)
OKLCHoklch(69.71% 0.194 316)
XYZxyz(45.8175, 30.6226, 83.6016)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71ED #93ED71
analogous
#8D71ED #CB71ED #ED71D1
triadic
#CB71ED #EDCB71 #71EDCB
tetradic
#CB71ED #ED8D71 #93ED71 #71D1ED
square
#CB71ED #ED8D71 #93ED71 #71D1ED
split-complementary
#CB71ED #D1ED71 #71ED8D
monochromatic
#9A1ACA #B73BE6 #CB71ED #DFA7F4 #F3DEFB

Accessibility & contrast

On white

2.95
#CB71ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CB71ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB71ED
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71ED#FFFFFF#000000##000000
##CB71ED1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#C984A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb71ed;
/* rgb */ color: rgb(203, 113, 237);
/* oklch */ color: oklch(69.7% 0.194 316.0);
Tailwind
colors: {
  custom: {
    50: '#dd9df3',
    500: '#cb71ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ed;
$custom-light: #dd9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ed",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 283.548,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69709,
    "c": 0.19375,
    "h": 316
  },
  "luminance": 0.30621
}

Semantic roles & 50–950 ramp

primary
#CB71ED
secondary
#D5EFCA
accent
#DA0C44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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