#CA70DB#CA70DB

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

Color values

HEX#CA70DB
RGBrgb(202, 112, 219)
HSLhsl(290, 60%, 65%)
HSVhsv(290, 49%, 86%)
CMYKcmyk(7.8%, 48.9%, 0%, 14.1%)
CIE-LABlab(61.01, 51.70, -40.16)
CIE-LCHlch(61.01, 65.46, 322.16°)
OKLaboklab(68.53% 0.1374 -0.111)
OKLCHoklch(68.53% 0.177 321.1)
XYZxyz(42.9360, 29.2611, 70.3904)
Luminance0.2926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70DB #81DB70
analogous
#9470DB #CA70DB #DB70B7
triadic
#CA70DB #DBCA70 #70DBCA
tetradic
#CA70DB #DB9470 #81DB70 #70B7DB
square
#CA70DB #DB9470 #81DB70 #70B7DB
split-complementary
#CA70DB #B7DB70 #70DB94
monochromatic
#932AA7 #B83FCF #CA70DB #DCA1E7 #EED2F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA70DB#FFFFFF#000000##000000
##CA70DB1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDF
Deuteranopia (green-blind)
#7A97D8
Tritanopia (blue-blind)
#CC7E9B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca70db;
/* rgb */ color: rgb(202, 112, 219);
/* oklch */ color: oklch(68.5% 0.177 321.1);
Tailwind
colors: {
  custom: {
    50: '#dc9ce6',
    500: '#ca70db',
    950: '#000000',
  },
}
SCSS
$custom: #ca70db;
$custom-light: #dc9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70db",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 290.467,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68532,
    "c": 0.17665,
    "h": 321.1
  },
  "luminance": 0.29259
}

Semantic roles & 50–950 ramp

primary
#CA70DB
secondary
#C7E6C1
accent
#C71E39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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