#CA78BE#CA78BE

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

Color values

HEX#CA78BE
RGBrgb(202, 120, 190)
HSLhsl(309, 44%, 63%)
HSVhsv(309, 41%, 79%)
CMYKcmyk(0%, 40.6%, 5.9%, 20.8%)
CIE-LABlab(61.40, 42.21, -23.19)
CIE-LCHlch(61.40, 48.16, 331.21°)
OKLaboklab(68.42% 0.1202 -0.0627)
OKLCHoklch(68.42% 0.136 332.5)
XYZxyz(40.3675, 29.7093, 52.3134)
Luminance0.2971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78BE #78CA84
analogous
#AD78CA #CA78BE #CA7895
triadic
#CA78BE #BECA78 #78BECA
tetradic
#CA78BE #CAAD78 #78CA84 #7895CA
square
#CA78BE #CAAD78 #78CA84 #7895CA
split-complementary
#CA78BE #95CA78 #78CAAD
monochromatic
#8F3883 #B94CA9 #CA78BE #DBA4D3 #EDD0E8

Accessibility & contrast

On white

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

On black

6.94
#CA78BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA78BE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78BE#FFFFFF#000000##000000
##CA78BE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC1
Deuteranopia (green-blind)
#8C98BC
Tritanopia (blue-blind)
#D17D92
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca78be;
/* rgb */ color: rgb(202, 120, 190);
/* oklch */ color: oklch(68.4% 0.136 332.5);
Tailwind
colors: {
  custom: {
    50: '#dba1d1',
    500: '#ca78be',
    950: '#000000',
  },
}
SCSS
$custom: #ca78be;
$custom-light: #dba1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78be",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 308.78,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68424,
    "c": 0.13558,
    "h": 332.5
  },
  "luminance": 0.29707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA78BE

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

Preview Lab → · Contrast checker → · Palette generator →

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