#CB70E9#CB70E9

#CB70E9 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.191 H 317.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CB70E9
RGBrgb(203, 112, 233)
HSLhsl(285, 73%, 68%)
HSVhsv(285, 52%, 91%)
CMYKcmyk(12.9%, 51.9%, 0%, 8.6%)
CIE-LABlab(61.80, 54.72, -46.72)
CIE-LCHlch(61.80, 71.96, 319.51°)
OKLaboklab(69.36% 0.1403 -0.13)
OKLCHoklch(69.36% 0.191 317.2)
XYZxyz(45.1286, 30.1696, 80.5211)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70E9 #8EE970
analogous
#8E70E9 #CB70E9 #E970CA
triadic
#CB70E9 #E9CB70 #70E9CB
tetradic
#CB70E9 #E98E70 #8EE970 #70CAE9
square
#CB70E9 #E98E70 #8EE970 #70CAE9
split-complementary
#CB70E9 #CAE970 #70E98E
monochromatic
#981EC1 #B83BE1 #CB70E9 #DEA5F1 #F2DAF9

Accessibility & contrast

On white

2.99
#CB70E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CB70E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70E9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70E9#FFFFFF#000000##000000
##CB70E91.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FED
Deuteranopia (green-blind)
#7498E6
Tritanopia (blue-blind)
#CA82A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb70e9;
/* rgb */ color: rgb(203, 112, 233);
/* oklch */ color: oklch(69.4% 0.191 317.2);
Tailwind
colors: {
  custom: {
    50: '#dd9cf0',
    500: '#cb70e9',
    950: '#000000',
  },
}
SCSS
$custom: #cb70e9;
$custom-light: #dd9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70e9",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 285.124,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.19121,
    "h": 317.2
  },
  "luminance": 0.30168
}

Semantic roles & 50–950 ramp

primary
#CB70E9
secondary
#D1EDC8
accent
#D51041
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB70E9

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

Preview Lab → · Contrast checker → · Palette generator →

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