#CA70E7#CA70E7

#CA70E7 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.1% C 0.189 H 317.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CA70E7
RGBrgb(202, 112, 231)
HSLhsl(285, 71%, 67%)
HSVhsv(285, 52%, 91%)
CMYKcmyk(12.6%, 51.5%, 0%, 9.4%)
CIE-LABlab(61.58, 54.06, -45.96)
CIE-LCHlch(61.58, 70.96, 319.63°)
OKLaboklab(69.14% 0.1389 -0.1278)
OKLCHoklch(69.14% 0.189 317.4)
XYZxyz(44.5730, 29.9160, 79.0122)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70E7 #8DE770
analogous
#8F70E7 #CA70E7 #E770C9
triadic
#CA70E7 #E7CA70 #70E7CA
tetradic
#CA70E7 #E78F70 #8DE770 #70C9E7
square
#CA70E7 #E78F70 #8DE770 #70C9E7
split-complementary
#CA70E7 #C9E770 #70E78F
monochromatic
#9720BD #B73CDE #CA70E7 #DDA4F0 #F1D9F9

Accessibility & contrast

On white

3.01
#CA70E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CA70E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA70E7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA70E7#FFFFFF#000000##000000
##CA70E71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca70e7;
/* rgb */ color: rgb(202, 112, 231);
/* oklch */ color: oklch(69.1% 0.189 317.4);
Tailwind
colors: {
  custom: {
    50: '#dc9cef',
    500: '#ca70e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca70e7;
$custom-light: #dc9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70e7",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 285.378,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69139,
    "c": 0.18873,
    "h": 317.4
  },
  "luminance": 0.29914
}

Semantic roles & 50–950 ramp

primary
#CA70E7
secondary
#D0ECC7
accent
#D31241
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA70E7

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

Preview Lab → · Contrast checker → · Palette generator →

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