#CA78E7#CA78E7

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

Color values

HEX#CA78E7
RGBrgb(202, 120, 231)
HSLhsl(284, 70%, 69%)
HSVhsv(284, 48%, 91%)
CMYKcmyk(12.6%, 48.1%, 0%, 9.4%)
CIE-LABlab(63.14, 49.98, -43.50)
CIE-LCHlch(63.14, 66.26, 318.97°)
OKLaboklab(70.3% 0.1281 -0.1207)
OKLCHoklch(70.3% 0.176 316.7)
XYZxyz(45.4953, 31.7604, 79.3196)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78E7 #95E778
analogous
#9378E7 #CA78E7 #E778CD
triadic
#CA78E7 #E7CA78 #78E7CA
tetradic
#CA78E7 #E79378 #95E778 #78CDE7
square
#CA78E7 #E79378 #95E778 #78CDE7
split-complementary
#CA78E7 #CDE778 #78E793
monochromatic
#9823C2 #B644DE #CA78E7 #DEACF0 #F3E0F9

Accessibility & contrast

On white

2.86
#CA78E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CA78E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78E7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78E7#FFFFFF#000000##000000
##CA78E71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#7B9BE4
Tritanopia (blue-blind)
#C988A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca78e7;
/* rgb */ color: rgb(202, 120, 231);
/* oklch */ color: oklch(70.3% 0.176 316.7);
Tailwind
colors: {
  custom: {
    50: '#dca1ef',
    500: '#ca78e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca78e7;
$custom-light: #dca1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78e7",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 284.324,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70296,
    "c": 0.176,
    "h": 316.7
  },
  "luminance": 0.31759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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