#CA78CE#CA78CE

#CA78CE is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.1% C 0.151 H 325.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CA78CE
RGBrgb(202, 120, 206)
HSLhsl(297, 47%, 64%)
HSVhsv(297, 42%, 81%)
CMYKcmyk(1.9%, 41.7%, 0%, 19.2%)
CIE-LABlab(62.04, 45.11, -31.25)
CIE-LCHlch(62.04, 54.88, 325.29°)
OKLaboklab(69.11% 0.1239 -0.0855)
OKLCHoklch(69.11% 0.151 325.4)
XYZxyz(42.2132, 30.4476, 62.0340)
Luminance0.3045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78CE #7CCE78
analogous
#9F78CE #CA78CE #CE78A7
triadic
#CA78CE #CECA78 #78CECA
tetradic
#CA78CE #CE9F78 #7CCE78 #78A7CE
square
#CA78CE #CE9F78 #7CCE78 #78A7CE
split-complementary
#CA78CE #A7CE78 #78CE9F
monochromatic
#913695 #B84BBE #CA78CE #DCA5DE #EDD2EF

Accessibility & contrast

On white

2.96
#CA78CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CA78CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78CE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78CE#FFFFFF#000000##000000
##CA78CE1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD1
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#CE8199
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca78ce;
/* rgb */ color: rgb(202, 120, 206);
/* oklch */ color: oklch(69.1% 0.151 325.4);
Tailwind
colors: {
  custom: {
    50: '#dca1dd',
    500: '#ca78ce',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ce;
$custom-light: #dca1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ce",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 297.209,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6911,
    "c": 0.15051,
    "h": 325.4
  },
  "luminance": 0.30446
}

Semantic roles & 50–950 ramp

primary
#CA78CE
secondary
#C3E0C2
accent
#BA2C32
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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