#CA78CB#CA78CB

#CA78CB is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.0% C 0.148 H 326.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CA78CB
RGBrgb(202, 120, 203)
HSLhsl(299, 44%, 63%)
HSVhsv(299, 41%, 80%)
CMYKcmyk(0.5%, 40.9%, 0%, 20.4%)
CIE-LABlab(61.91, 44.55, -29.75)
CIE-LCHlch(61.91, 53.57, 326.26°)
OKLaboklab(68.98% 0.1232 -0.0812)
OKLCHoklch(68.98% 0.148 326.6)
XYZxyz(41.8522, 30.3032, 60.1329)
Luminance0.3030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78CB #79CB78
analogous
#A078CB #CA78CB #CB78A2
triadic
#CA78CB #CBCA78 #78CBCA
tetradic
#CA78CB #CBA078 #79CB78 #78A2CB
square
#CA78CB #CBA078 #79CB78 #78A2CB
split-complementary
#CA78CB #A2CB78 #78CBA0
monochromatic
#903891 #B94CBA #CA78CB #DBA4DC #EDD0ED

Accessibility & contrast

On white

2.97
#CA78CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CA78CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78CB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78CB#FFFFFF#000000##000000
##CA78CB1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCE
Deuteranopia (green-blind)
#8799C8
Tritanopia (blue-blind)
#CE8098
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca78cb;
/* rgb */ color: rgb(202, 120, 203);
/* oklch */ color: oklch(69.0% 0.148 326.6);
Tailwind
colors: {
  custom: {
    50: '#dca1db',
    500: '#ca78cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca78cb;
$custom-light: #dca1db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78cb",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 299.277,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68977,
    "c": 0.1476,
    "h": 326.6
  },
  "luminance": 0.30301
}

Semantic roles & 50–950 ramp

primary
#CA78CB
secondary
#C1DEC1
accent
#B82E30
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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