#CA78CC#CA78CC

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

Color values

HEX#CA78CC
RGBrgb(202, 120, 204)
HSLhsl(299, 45%, 64%)
HSVhsv(299, 41%, 80%)
CMYKcmyk(1%, 41.2%, 0%, 20%)
CIE-LABlab(61.96, 44.74, -30.25)
CIE-LCHlch(61.96, 54.01, 325.93°)
OKLaboklab(69.02% 0.1235 -0.0827)
OKLCHoklch(69.02% 0.149 326.2)
XYZxyz(41.9718, 30.3510, 60.7625)
Luminance0.3035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78CC #7ACC78
analogous
#A078CC #CA78CC #CC78A4
triadic
#CA78CC #CCCA78 #78CCCA
tetradic
#CA78CC #CCA078 #7ACC78 #78A4CC
square
#CA78CC #CCA078 #7ACC78 #78A4CC
split-complementary
#CA78CC #A4CC78 #78CCA0
monochromatic
#903792 #B94CBB #CA78CC #DBA4DD #EDD1EE

Accessibility & contrast

On white

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

On black

7.07
#CA78CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78CC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78CC#FFFFFF#000000##000000
##CA78CC1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca78cc;
/* rgb */ color: rgb(202, 120, 204);
/* oklch */ color: oklch(69.0% 0.149 326.2);
Tailwind
colors: {
  custom: {
    50: '#dca1db',
    500: '#ca78cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca78cc;
$custom-light: #dca1db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78cc",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 298.571,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69021,
    "c": 0.14857,
    "h": 326.2
  },
  "luminance": 0.30349
}

Semantic roles & 50–950 ramp

primary
#CA78CC
secondary
#C2DFC1
accent
#B82D30
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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