#CA70DC#CA70DC

#CA70DC is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.6% C 0.178 H 320.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#CA70DC
RGBrgb(202, 112, 220)
HSLhsl(290, 61%, 65%)
HSVhsv(290, 49%, 86%)
CMYKcmyk(8.2%, 49.1%, 0%, 13.7%)
CIE-LABlab(61.06, 51.89, -40.64)
CIE-LCHlch(61.06, 65.92, 321.93°)
OKLaboklab(68.58% 0.1376 -0.1124)
OKLCHoklch(68.58% 0.178 320.7)
XYZxyz(43.0680, 29.3139, 71.0858)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70DC #82DC70
analogous
#9470DC #CA70DC #DC70B8
triadic
#CA70DC #DCCA70 #70DCCA
tetradic
#CA70DC #DC9470 #82DC70 #70B8DC
square
#CA70DC #DC9470 #82DC70 #70B8DC
split-complementary
#CA70DC #B8DC70 #70DC94
monochromatic
#9329A8 #B83FD0 #CA70DC #DCA1E8 #EED2F4

Accessibility & contrast

On white

3.06
#CA70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#CA70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA70DC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA70DC#FFFFFF#000000##000000
##CA70DC1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#CC7E9C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca70dc;
/* rgb */ color: rgb(202, 112, 220);
/* oklch */ color: oklch(68.6% 0.178 320.7);
Tailwind
colors: {
  custom: {
    50: '#dc9ce7',
    500: '#ca70dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca70dc;
$custom-light: #dc9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70dc",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 290,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68581,
    "c": 0.17765,
    "h": 320.7
  },
  "luminance": 0.29312
}

Semantic roles & 50–950 ramp

primary
#CA70DC
secondary
#C8E6C2
accent
#C81D3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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