#CA78EB#CA78EB

#CA78EB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.180 H 315.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA78EB
RGBrgb(202, 120, 235)
HSLhsl(283, 74%, 70%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(14%, 48.9%, 0%, 7.8%)
CIE-LABlab(63.33, 50.80, -45.42)
CIE-LCHlch(63.33, 68.14, 318.20°)
OKLaboklab(70.5% 0.1286 -0.1263)
OKLCHoklch(70.5% 0.18 315.5)
XYZxyz(46.0667, 31.9890, 82.3290)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78EB #99EB78
analogous
#9178EB #CA78EB #EB78D2
triadic
#CA78EB #EBCA78 #78EBCA
tetradic
#CA78EB #EB9178 #99EB78 #78D2EB
square
#CA78EB #EB9178 #99EB78 #78D2EB
split-complementary
#CA78EB #D2EB78 #78EB91
monochromatic
#991ECB #B543E3 #CA78EB #DFADF3 #F4E3FB

Accessibility & contrast

On white

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

On black

7.40
#CA78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78EB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78EB#FFFFFF#000000##000000
##CA78EB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#C889A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca78eb;
/* rgb */ color: rgb(202, 120, 235);
/* oklch */ color: oklch(70.5% 0.180 315.5);
Tailwind
colors: {
  custom: {
    50: '#dca1f2',
    500: '#ca78eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca78eb;
$custom-light: #dca1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78eb",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 282.783,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70498,
    "c": 0.18022,
    "h": 315.5
  },
  "luminance": 0.31988
}

Semantic roles & 50–950 ramp

primary
#CA78EB
secondary
#D8F0CF
accent
#D60F48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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