#CA78E2#CA78E2

#CA78E2 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.171 H 318.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CA78E2
RGBrgb(202, 120, 226)
HSLhsl(286, 65%, 68%)
HSVhsv(286, 47%, 89%)
CMYKcmyk(10.6%, 46.9%, 0%, 11.4%)
CIE-LABlab(62.91, 48.98, -41.09)
CIE-LCHlch(62.91, 63.93, 320.01°)
OKLaboklab(70.05% 0.1274 -0.1137)
OKLCHoklch(70.05% 0.171 318.2)
XYZxyz(44.7992, 31.4820, 75.6535)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78E2 #90E278
analogous
#9578E2 #CA78E2 #E278C5
triadic
#CA78E2 #E2CA78 #78E2CA
tetradic
#CA78E2 #E29578 #90E278 #78C5E2
square
#CA78E2 #E29578 #90E278 #78C5E2
split-complementary
#CA78E2 #C5E278 #78E295
monochromatic
#9728B8 #B646D7 #CA78E2 #DEAAED #F2DDF8

Accessibility & contrast

On white

2.88
#CA78E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CA78E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78E2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78E2#FFFFFF#000000##000000
##CA78E21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#CA87A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca78e2;
/* rgb */ color: rgb(202, 120, 226);
/* oklch */ color: oklch(70.0% 0.171 318.2);
Tailwind
colors: {
  custom: {
    50: '#dca1eb',
    500: '#ca78e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca78e2;
$custom-light: #dca1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78e2",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 286.415,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70048,
    "c": 0.17076,
    "h": 318.2
  },
  "luminance": 0.3148
}

Semantic roles & 50–950 ramp

primary
#CA78E2
secondary
#D2EBCB
accent
#CC1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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