#CA70DF#CA70DF

#CA70DF is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.7% C 0.181 H 319.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CA70DF
RGBrgb(202, 112, 223)
HSLhsl(289, 63%, 66%)
HSVhsv(289, 50%, 87%)
CMYKcmyk(9.4%, 49.8%, 0%, 12.5%)
CIE-LABlab(61.20, 52.48, -42.10)
CIE-LCHlch(61.20, 67.28, 321.26°)
OKLaboklab(68.73% 0.138 -0.1166)
OKLCHoklch(68.73% 0.181 319.8)
XYZxyz(43.4689, 29.4743, 73.1971)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70DF #85DF70
analogous
#9270DF #CA70DF #DF70BC
triadic
#CA70DF #DFCA70 #70DFCA
tetradic
#CA70DF #DF9270 #85DF70 #70BCDF
square
#CA70DF #DF9270 #85DF70 #70BCDF
split-complementary
#CA70DF #BCDF70 #70DF92
monochromatic
#9427AE #B73ED4 #CA70DF #DDA2EA #EFD4F5

Accessibility & contrast

On white

3.05
#CA70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CA70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA70DF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA70DF#FFFFFF#000000##000000
##CA70DF1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE3
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#CB7F9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca70df;
/* rgb */ color: rgb(202, 112, 223);
/* oklch */ color: oklch(68.7% 0.181 319.8);
Tailwind
colors: {
  custom: {
    50: '#dc9ce9',
    500: '#ca70df',
    950: '#000000',
  },
}
SCSS
$custom: #ca70df;
$custom-light: #dc9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70df",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 288.649,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68731,
    "c": 0.18064,
    "h": 319.8
  },
  "luminance": 0.29473
}

Semantic roles & 50–950 ramp

primary
#CA70DF
secondary
#CAE8C3
accent
#CB1A3C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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