#CA78E8#CA78E8

#CA78E8 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.3% C 0.177 H 316.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CA78E8
RGBrgb(202, 120, 232)
HSLhsl(284, 71%, 69%)
HSVhsv(284, 48%, 91%)
CMYKcmyk(12.9%, 48.3%, 0%, 9%)
CIE-LABlab(63.19, 50.19, -43.98)
CIE-LCHlch(63.19, 66.73, 318.77°)
OKLaboklab(70.35% 0.1282 -0.1221)
OKLCHoklch(70.35% 0.177 316.4)
XYZxyz(45.6369, 31.8171, 80.0656)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78E8 #96E878
analogous
#9278E8 #CA78E8 #E878CE
triadic
#CA78E8 #E8CA78 #78E8CA
tetradic
#CA78E8 #E89278 #96E878 #78CEE8
square
#CA78E8 #E89278 #96E878 #78CEE8
split-complementary
#CA78E8 #CEE878 #78E892
monochromatic
#9921C4 #B544DF #CA78E8 #DFACF1 #F3E1FA

Accessibility & contrast

On white

2.85
#CA78E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CA78E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78E8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78E8#FFFFFF#000000##000000
##CA78E81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6294EC
Deuteranopia (green-blind)
#7A9BE5
Tritanopia (blue-blind)
#C988A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca78e8;
/* rgb */ color: rgb(202, 120, 232);
/* oklch */ color: oklch(70.3% 0.177 316.4);
Tailwind
colors: {
  custom: {
    50: '#dca1f0',
    500: '#ca78e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca78e8;
$custom-light: #dca1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78e8",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 283.929,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70346,
    "c": 0.17705,
    "h": 316.4
  },
  "luminance": 0.31816
}

Semantic roles & 50–950 ramp

primary
#CA78E8
secondary
#D6EECD
accent
#D31346
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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