#CA78BA#CA78BA

#CA78BA is a light, vivid pink. Relative luminance 0.295; OKLCH L 68.3% C 0.132 H 334.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CA78BA
RGBrgb(202, 120, 186)
HSLhsl(312, 44%, 63%)
HSVhsv(312, 41%, 79%)
CMYKcmyk(0%, 40.6%, 7.9%, 20.8%)
CIE-LABlab(61.25, 41.51, -21.15)
CIE-LCHlch(61.25, 46.59, 333.00°)
OKLaboklab(68.26% 0.1192 -0.057)
OKLCHoklch(68.26% 0.132 334.4)
XYZxyz(39.9363, 29.5368, 50.0425)
Luminance0.2954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78BA #78CA88
analogous
#B178CA #CA78BA #CA7891
triadic
#CA78BA #BACA78 #78BACA
tetradic
#CA78BA #CAB178 #78CA88 #7891CA
square
#CA78BA #CAB178 #78CA88 #7891CA
split-complementary
#CA78BA #91CA78 #78CAB1
monochromatic
#8F387E #B94CA4 #CA78BA #DBA4D0 #EDD0E7

Accessibility & contrast

On white

3.04
#CA78BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CA78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA78BA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78BA#FFFFFF#000000##000000
##CA78BA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788CBC
Deuteranopia (green-blind)
#8D98B8
Tritanopia (blue-blind)
#D17C91
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca78ba;
/* rgb */ color: rgb(202, 120, 186);
/* oklch */ color: oklch(68.3% 0.132 334.4);
Tailwind
colors: {
  custom: {
    50: '#dba1cf',
    500: '#ca78ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ba;
$custom-light: #dba1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ba",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 311.707,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68262,
    "c": 0.1321,
    "h": 334.4
  },
  "luminance": 0.29535
}

Semantic roles & 50–950 ramp

primary
#CA78BA
secondary
#C0DEC6
accent
#B7492F
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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