#CA78BD#CA78BD

#CA78BD is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.4% C 0.135 H 332.9°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CA78BD
RGBrgb(202, 120, 189)
HSLhsl(310, 44%, 63%)
HSVhsv(310, 41%, 79%)
CMYKcmyk(0%, 40.6%, 6.4%, 20.8%)
CIE-LABlab(61.36, 42.03, -22.68)
CIE-LCHlch(61.36, 47.76, 331.65°)
OKLaboklab(68.38% 0.12 -0.0613)
OKLCHoklch(68.38% 0.135 332.9)
XYZxyz(40.2586, 29.6658, 51.7398)
Luminance0.2966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78BD #78CA85
analogous
#AE78CA #CA78BD #CA7894
triadic
#CA78BD #BDCA78 #78BDCA
tetradic
#CA78BD #CAAE78 #78CA85 #7894CA
square
#CA78BD #CAAE78 #78CA85 #7894CA
split-complementary
#CA78BD #94CA78 #78CAAE
monochromatic
#8F3882 #B94CA8 #CA78BD #DBA4D2 #EDD0E8

Accessibility & contrast

On white

3.03
#CA78BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CA78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA78BD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78BD#FFFFFF#000000##000000
##CA78BD1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DBF
Deuteranopia (green-blind)
#8C98BB
Tritanopia (blue-blind)
#D17D92
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca78bd;
/* rgb */ color: rgb(202, 120, 189);
/* oklch */ color: oklch(68.4% 0.135 332.9);
Tailwind
colors: {
  custom: {
    50: '#dba1d1',
    500: '#ca78bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca78bd;
$custom-light: #dba1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78bd",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 309.512,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.1347,
    "h": 332.9
  },
  "luminance": 0.29664
}

Semantic roles & 50–950 ramp

primary
#CA78BD
secondary
#C0DEC5
accent
#B7442F
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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