#CB70E8#CB70E8

#CB70E8 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.3% C 0.190 H 317.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CB70E8
RGBrgb(203, 112, 232)
HSLhsl(286, 72%, 67%)
HSVhsv(286, 52%, 91%)
CMYKcmyk(12.5%, 51.7%, 0%, 9%)
CIE-LABlab(61.75, 54.52, -46.24)
CIE-LCHlch(61.75, 71.49, 319.70°)
OKLaboklab(69.31% 0.1402 -0.1286)
OKLCHoklch(69.31% 0.19 317.5)
XYZxyz(44.9862, 30.1126, 79.7709)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70E8 #8DE870
analogous
#8F70E8 #CB70E8 #E870C9
triadic
#CB70E8 #E8CB70 #70E8CB
tetradic
#CB70E8 #E88F70 #8DE870 #70C9E8
square
#CB70E8 #E88F70 #8DE870 #70C9E8
split-complementary
#CB70E8 #C9E870 #70E88F
monochromatic
#981FBF #B83BE0 #CB70E8 #DEA5F0 #F1D9F9

Accessibility & contrast

On white

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

On black

7.02
#CB70E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70E8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70E8#FFFFFF#000000##000000
##CB70E81.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb70e8;
/* rgb */ color: rgb(203, 112, 232);
/* oklch */ color: oklch(69.3% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#dd9cf0',
    500: '#cb70e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb70e8;
$custom-light: #dd9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70e8",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 285.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69306,
    "c": 0.1902,
    "h": 317.5
  },
  "luminance": 0.30111
}

Semantic roles & 50–950 ramp

primary
#CB70E8
secondary
#D0EDC7
accent
#D41140
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB70E8

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

Preview Lab → · Contrast checker → · Palette generator →

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