#CA70EC#CA70EC

#CA70EC is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.194 H 316.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CA70EC
RGBrgb(202, 112, 236)
HSLhsl(284, 77%, 68%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(14.4%, 52.5%, 0%, 7.5%)
CIE-LABlab(61.83, 55.06, -48.35)
CIE-LCHlch(61.83, 73.28, 318.71°)
OKLaboklab(69.4% 0.1394 -0.1347)
OKLCHoklch(69.4% 0.194 316)
XYZxyz(45.2893, 30.2025, 82.7846)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA70EC #92EC70
analogous
#8C70EC #CA70EC #EC70D0
triadic
#CA70EC #ECCA70 #70ECCA
tetradic
#CA70EC #EC8C70 #92EC70 #70D0EC
square
#CA70EC #EC8C70 #92EC70 #70D0EC
split-complementary
#CA70EC #D0EC70 #70EC8C
monochromatic
#981AC7 #B63AE5 #CA70EC #DEA6F3 #F2DCFA

Accessibility & contrast

On white

2.98
#CA70EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CA70EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA70EC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA70EC#FFFFFF#000000##000000
##CA70EC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#C883A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca70ec;
/* rgb */ color: rgb(202, 112, 236);
/* oklch */ color: oklch(69.4% 0.194 316.0);
Tailwind
colors: {
  custom: {
    50: '#dd9cf2',
    500: '#ca70ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca70ec;
$custom-light: #dd9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca70ec",
  "rgb": {
    "r": 202,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 283.548,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69402,
    "c": 0.19384,
    "h": 316
  },
  "luminance": 0.30201
}

Semantic roles & 50–950 ramp

primary
#CA70EC
secondary
#D3EFC9
accent
#D90D45
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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