#CA78E5#CA78E5

#CA78E5 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.2% C 0.174 H 317.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CA78E5
RGBrgb(202, 120, 229)
HSLhsl(285, 68%, 68%)
HSVhsv(285, 48%, 90%)
CMYKcmyk(11.8%, 47.6%, 0%, 10.2%)
CIE-LABlab(63.05, 49.58, -42.54)
CIE-LCHlch(63.05, 65.33, 319.37°)
OKLaboklab(70.2% 0.1278 -0.1179)
OKLCHoklch(70.2% 0.174 317.3)
XYZxyz(45.2144, 31.6481, 77.8405)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78E5 #93E578
analogous
#9378E5 #CA78E5 #E578C9
triadic
#CA78E5 #E5CA78 #78E5CA
tetradic
#CA78E5 #E59378 #93E578 #78C9E5
square
#CA78E5 #E59378 #93E578 #78C9E5
split-complementary
#CA78E5 #C9E578 #78E593
monochromatic
#9825BE #B645DB #CA78E5 #DEABEF #F2DFF9

Accessibility & contrast

On white

2.87
#CA78E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CA78E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78E5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78E5#FFFFFF#000000##000000
##CA78E51.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E9
Deuteranopia (green-blind)
#7C9BE2
Tritanopia (blue-blind)
#C987A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca78e5;
/* rgb */ color: rgb(202, 120, 229);
/* oklch */ color: oklch(70.2% 0.174 317.3);
Tailwind
colors: {
  custom: {
    50: '#dca1ed',
    500: '#ca78e5',
    950: '#000000',
  },
}
SCSS
$custom: #ca78e5;
$custom-light: #dca1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78e5",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 285.138,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70196,
    "c": 0.1739,
    "h": 317.3
  },
  "luminance": 0.31647
}

Semantic roles & 50–950 ramp

primary
#CA78E5
secondary
#D4EDCC
accent
#D01644
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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