#CB70D8#CB70D8

#CB70D8 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.5% C 0.174 H 322.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#CB70D8
RGBrgb(203, 112, 216)
HSLhsl(293, 57%, 64%)
HSVhsv(293, 48%, 85%)
CMYKcmyk(6%, 48.1%, 0%, 15.3%)
CIE-LABlab(61.00, 51.41, -38.49)
CIE-LCHlch(61.00, 64.22, 323.18°)
OKLaboklab(68.5% 0.1382 -0.1062)
OKLCHoklch(68.5% 0.174 322.5)
XYZxyz(42.8161, 29.2446, 68.3419)
Luminance0.2924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB70D8 #7DD870
analogous
#9770D8 #CB70D8 #D870B1
triadic
#CB70D8 #D8CB70 #70D8CB
tetradic
#CB70D8 #D89770 #7DD870 #70B1D8
square
#CB70D8 #D89770 #7DD870 #70B1D8
split-complementary
#CB70D8 #B1D870 #70D897
monochromatic
#932CA2 #BA40CB #CB70D8 #DCA0E5 #EED0F2

Accessibility & contrast

On white

3.07
#CB70D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#CB70D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB70D8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB70D8#FFFFFF#000000##000000
##CB70D81.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDC
Deuteranopia (green-blind)
#7C97D5
Tritanopia (blue-blind)
#CE7D9A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cb70d8;
/* rgb */ color: rgb(203, 112, 216);
/* oklch */ color: oklch(68.5% 0.174 322.5);
Tailwind
colors: {
  custom: {
    50: '#dd9ce4',
    500: '#cb70d8',
    950: '#000000',
  },
}
SCSS
$custom: #cb70d8;
$custom-light: #dd9ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb70d8",
  "rgb": {
    "r": 203,
    "g": 112,
    "b": 216
  },
  "hsl": {
    "h": 292.5,
    "s": 57.143,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68503,
    "c": 0.17424,
    "h": 322.5
  },
  "luminance": 0.29243
}

Semantic roles & 50–950 ramp

primary
#CB70D8
secondary
#C4E4C0
accent
#C52135
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #CB70D8

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

Preview Lab → · Contrast checker → · Palette generator →

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