#CA78C8#CA78C8

#CA78C8 is a light, vivid purple. Relative luminance 0.302; OKLCH L 68.8% C 0.145 H 327.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CA78C8
RGBrgb(202, 120, 200)
HSLhsl(301, 44%, 63%)
HSVhsv(301, 41%, 79%)
CMYKcmyk(0%, 40.6%, 1%, 20.8%)
CIE-LABlab(61.79, 44.00, -28.25)
CIE-LCHlch(61.79, 52.29, 327.30°)
OKLaboklab(68.85% 0.1226 -0.077)
OKLCHoklch(68.85% 0.145 327.9)
XYZxyz(41.4982, 30.1616, 58.2683)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78C8 #78CA7A
analogous
#A378CA #CA78C8 #CA789F
triadic
#CA78C8 #C8CA78 #78C8CA
tetradic
#CA78C8 #CAA378 #78CA7A #789FCA
square
#CA78C8 #CAA378 #78CA7A #789FCA
split-complementary
#CA78C8 #9FCA78 #78CAA3
monochromatic
#8F388D #B94CB6 #CA78C8 #DBA4DA #EDD0EC

Accessibility & contrast

On white

2.99
#CA78C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CA78C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78C8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78C8#FFFFFF#000000##000000
##CA78C81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCB
Deuteranopia (green-blind)
#8899C5
Tritanopia (blue-blind)
#CF7F97
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca78c8;
/* rgb */ color: rgb(202, 120, 200);
/* oklch */ color: oklch(68.8% 0.145 327.9);
Tailwind
colors: {
  custom: {
    50: '#dca1d9',
    500: '#ca78c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca78c8;
$custom-light: #dca1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78c8",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 301.463,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68846,
    "c": 0.14475,
    "h": 327.9
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#CA78C8
secondary
#C0DEC1
accent
#B7322F
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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