#CA78D2#CA78D2

#CA78D2 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.3% C 0.154 H 323.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CA78D2
RGBrgb(202, 120, 210)
HSLhsl(295, 50%, 65%)
HSVhsv(295, 43%, 82%)
CMYKcmyk(3.8%, 42.9%, 0%, 17.6%)
CIE-LABlab(62.21, 45.86, -33.24)
CIE-LCHlch(62.21, 56.64, 324.07°)
OKLaboklab(69.29% 0.1247 -0.0912)
OKLCHoklch(69.29% 0.154 323.8)
XYZxyz(42.7053, 30.6444, 64.6257)
Luminance0.3064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78D2 #80D278
analogous
#9D78D2 #CA78D2 #D278AD
triadic
#CA78D2 #D2CA78 #78D2CA
tetradic
#CA78D2 #D29D78 #80D278 #78ADD2
square
#CA78D2 #D29D78 #80D278 #78ADD2
split-complementary
#CA78D2 #ADD278 #78D29D
monochromatic
#92349C #B84AC3 #CA78D2 #DCA6E1 #EED4F1

Accessibility & contrast

On white

2.95
#CA78D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CA78D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78D2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78D2#FFFFFF#000000##000000
##CA78D21.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E90D5
Deuteranopia (green-blind)
#849ACF
Tritanopia (blue-blind)
#CD829B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca78d2;
/* rgb */ color: rgb(202, 120, 210);
/* oklch */ color: oklch(69.3% 0.154 323.8);
Tailwind
colors: {
  custom: {
    50: '#dca1e0',
    500: '#ca78d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca78d2;
$custom-light: #dca1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78d2",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 294.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6929,
    "c": 0.15445,
    "h": 323.8
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

primary
#CA78D2
secondary
#C6E2C3
accent
#BD2835
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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