#CA78BF#CA78BF

#CA78BF is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.5% C 0.136 H 332.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CA78BF
RGBrgb(202, 120, 191)
HSLhsl(308, 44%, 63%)
HSVhsv(308, 41%, 79%)
CMYKcmyk(0%, 40.6%, 5.4%, 20.8%)
CIE-LABlab(61.44, 42.38, -23.70)
CIE-LCHlch(61.44, 48.56, 330.79°)
OKLaboklab(68.47% 0.1205 -0.0641)
OKLCHoklch(68.47% 0.136 332)
XYZxyz(40.4772, 29.7532, 52.8910)
Luminance0.2975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78BF #78CA83
analogous
#AC78CA #CA78BF #CA7896
triadic
#CA78BF #BFCA78 #78BFCA
tetradic
#CA78BF #CAAC78 #78CA83 #7896CA
square
#CA78BF #CAAC78 #78CA83 #7896CA
split-complementary
#CA78BF #96CA78 #78CAAC
monochromatic
#8F3884 #B94CAA #CA78BF #DBA4D4 #EDD0E9

Accessibility & contrast

On white

3.02
#CA78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CA78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA78BF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78BF#FFFFFF#000000##000000
##CA78BF1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC2
Deuteranopia (green-blind)
#8B99BC
Tritanopia (blue-blind)
#D07D93
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca78bf;
/* rgb */ color: rgb(202, 120, 191);
/* oklch */ color: oklch(68.5% 0.136 332.0);
Tailwind
colors: {
  custom: {
    50: '#dba1d2',
    500: '#ca78bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca78bf;
$custom-light: #dba1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78bf",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 308.049,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68465,
    "c": 0.13647,
    "h": 332
  },
  "luminance": 0.29751
}

Semantic roles & 50–950 ramp

primary
#CA78BF
secondary
#C0DEC4
accent
#B7412F
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CA78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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