#CA78DF#CA78DF

#CA78DF is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.9% C 0.168 H 319.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CA78DF
RGBrgb(202, 120, 223)
HSLhsl(288, 62%, 67%)
HSVhsv(288, 46%, 87%)
CMYKcmyk(9.4%, 46.2%, 0%, 12.5%)
CIE-LABlab(62.78, 48.38, -39.63)
CIE-LCHlch(62.78, 62.54, 320.68°)
OKLaboklab(69.9% 0.1269 -0.1095)
OKLCHoklch(69.9% 0.168 319.2)
XYZxyz(44.3911, 31.3188, 73.5045)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78DF #8DDF78
analogous
#9778DF #CA78DF #DF78C1
triadic
#CA78DF #DFCA78 #78DFCA
tetradic
#CA78DF #DF9778 #8DDF78 #78C1DF
square
#CA78DF #DF9778 #8DDF78 #78C1DF
split-complementary
#CA78DF #C1DF78 #78DF97
monochromatic
#972AB2 #B747D3 #CA78DF #DDA9EB #F1DBF6

Accessibility & contrast

On white

2.89
#CA78DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CA78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78DF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78DF#FFFFFF#000000##000000
##CA78DF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E3
Deuteranopia (green-blind)
#7E9BDC
Tritanopia (blue-blind)
#CB86A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca78df;
/* rgb */ color: rgb(202, 120, 223);
/* oklch */ color: oklch(69.9% 0.168 319.2);
Tailwind
colors: {
  custom: {
    50: '#dca1e9',
    500: '#ca78df',
    950: '#000000',
  },
}
SCSS
$custom: #ca78df;
$custom-light: #dca1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78df",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 287.767,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69902,
    "c": 0.16765,
    "h": 319.2
  },
  "luminance": 0.31317
}

Semantic roles & 50–950 ramp

primary
#CA78DF
secondary
#D0EAC9
accent
#C91C3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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