#CB70E7#CB70E7

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

Color values

HEX#CB70E7
RGBrgb(203, 112, 231)
HSLhsl(286, 71%, 67%)
HSVhsv(286, 52%, 91%)
CMYKcmyk(12.1%, 51.5%, 0%, 9.4%)
CIE-LABlab(61.70, 54.32, -45.76)
CIE-LCHlch(61.70, 71.03, 319.89°)
OKLaboklab(69.26% 0.1401 -0.1272)
OKLCHoklch(69.26% 0.189 317.8)
XYZxyz(44.8446, 30.0560, 79.0249)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70E7 #8CE770
analogous
#8F70E7 #CB70E7 #E770C8
triadic
#CB70E7 #E7CB70 #70E7CB
tetradic
#CB70E7 #E78F70 #8CE770 #70C8E7
square
#CB70E7 #E78F70 #8CE770 #70C8E7
split-complementary
#CB70E7 #C8E770 #70E78F
monochromatic
#9820BD #B83CDE #CB70E7 #DEA4F0 #F1D9F9

Accessibility & contrast

On white

3.00
#CB70E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#CB70E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB70E7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70E7#FFFFFF#000000##000000
##CB70E71.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#7598E4
Tritanopia (blue-blind)
#CB82A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb70e7;
/* rgb */ color: rgb(203, 112, 231);
/* oklch */ color: oklch(69.3% 0.189 317.8);
Tailwind
colors: {
  custom: {
    50: '#dd9cef',
    500: '#cb70e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb70e7;
$custom-light: #dd9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70e7",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 285.882,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69255,
    "c": 0.18919,
    "h": 317.8
  },
  "luminance": 0.30054
}

Semantic roles & 50–950 ramp

primary
#CB70E7
secondary
#CFECC7
accent
#D31240
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB70E7

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

Preview Lab → · Contrast checker → · Palette generator →

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