#CA78CA#CA78CA

#CA78CA is a light, vivid purple. Relative luminance 0.303; OKLCH L 68.9% C 0.147 H 327.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CA78CA
RGBrgb(202, 120, 202)
HSLhsl(300, 44%, 63%)
HSVhsv(300, 41%, 79%)
CMYKcmyk(0%, 40.6%, 0%, 20.8%)
CIE-LABlab(61.87, 44.37, -29.25)
CIE-LCHlch(61.87, 53.14, 326.60°)
OKLaboklab(68.93% 0.123 -0.0798)
OKLCHoklch(68.93% 0.147 327)
XYZxyz(41.7335, 30.2557, 59.5073)
Luminance0.3025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78CA #78CA78
analogous
#A178CA #CA78CA #CA78A1
triadic
#CA78CA #CACA78 #78CACA
tetradic
#CA78CA #CAA178 #78CA78 #78A1CA
square
#CA78CA #CAA178 #78CA78 #78A1CA
split-complementary
#CA78CA #A1CA78 #78CAA1
monochromatic
#8F388F #B94CB9 #CA78CA #DBA4DB #EDD0ED

Accessibility & contrast

On white

2.98
#CA78CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CA78CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78CA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78CA#FFFFFF#000000##000000
##CA78CA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCD
Deuteranopia (green-blind)
#8799C7
Tritanopia (blue-blind)
#CF8098
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca78ca;
/* rgb */ color: rgb(202, 120, 202);
/* oklch */ color: oklch(68.9% 0.147 327.0);
Tailwind
colors: {
  custom: {
    50: '#dca1da',
    500: '#ca78ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ca;
$custom-light: #dca1da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ca",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.14665,
    "h": 327
  },
  "luminance": 0.30254
}

Semantic roles & 50–950 ramp

primary
#CA78CA
secondary
#C0DEC0
accent
#B72F2F
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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