#CA78EA#CA78EA

#CA78EA is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.4% C 0.179 H 315.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CA78EA
RGBrgb(202, 120, 234)
HSLhsl(283, 73%, 69%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(13.7%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.29, 50.59, -44.94)
CIE-LCHlch(63.29, 67.67, 318.38°)
OKLaboklab(70.45% 0.1285 -0.1249)
OKLCHoklch(70.45% 0.179 315.8)
XYZxyz(45.9226, 31.9314, 81.5702)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78EA #98EA78
analogous
#9178EA #CA78EA #EA78D1
triadic
#CA78EA #EACA78 #78EACA
tetradic
#CA78EA #EA9178 #98EA78 #78D1EA
square
#CA78EA #EA9178 #98EA78 #78D1EA
split-complementary
#CA78EA #D1EA78 #78EA91
monochromatic
#991FC8 #B543E2 #CA78EA #DFADF2 #F4E2FA

Accessibility & contrast

On white

2.84
#CA78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CA78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78EA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78EA#FFFFFF#000000##000000
##CA78EA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#C889A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca78ea;
/* rgb */ color: rgb(202, 120, 234);
/* oklch */ color: oklch(70.4% 0.179 315.8);
Tailwind
colors: {
  custom: {
    50: '#dca1f1',
    500: '#ca78ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ea;
$custom-light: #dca1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ea",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 283.158,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70448,
    "c": 0.17916,
    "h": 315.8
  },
  "luminance": 0.3193
}

Semantic roles & 50–950 ramp

primary
#CA78EA
secondary
#D8EFCE
accent
#D51048
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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