#CA78DB#CA78DB

#CA78DB is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.7% C 0.164 H 320.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA78DB
RGBrgb(202, 120, 219)
HSLhsl(290, 58%, 66%)
HSVhsv(290, 45%, 86%)
CMYKcmyk(7.8%, 45.2%, 0%, 14.1%)
CIE-LABlab(62.60, 47.59, -37.67)
CIE-LCHlch(62.60, 60.70, 321.64°)
OKLaboklab(69.71% 0.1263 -0.1039)
OKLCHoklch(69.71% 0.164 320.6)
XYZxyz(43.8582, 31.1056, 70.6978)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78DB #89DB78
analogous
#9978DB #CA78DB #DB78BB
triadic
#CA78DB #DBCA78 #78DBCA
tetradic
#CA78DB #DB9978 #89DB78 #78BBDB
square
#CA78DB #DB9978 #89DB78 #78BBDB
split-complementary
#CA78DB #BBDB78 #78DB99
monochromatic
#952EAB #B748CE #CA78DB #DDA8E8 #F0D9F5

Accessibility & contrast

On white

2.91
#CA78DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78DB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78DB#FFFFFF#000000##000000
##CA78DB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992DE
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#CB859F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca78db;
/* rgb */ color: rgb(202, 120, 219);
/* oklch */ color: oklch(69.7% 0.164 320.6);
Tailwind
colors: {
  custom: {
    50: '#dca1e6',
    500: '#ca78db',
    950: '#000000',
  },
}
SCSS
$custom: #ca78db;
$custom-light: #dca1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78db",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 289.697,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6971,
    "c": 0.16353,
    "h": 320.6
  },
  "luminance": 0.31104
}

Semantic roles & 50–950 ramp

primary
#CA78DB
secondary
#CDE7C7
accent
#C5203C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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