#CA78CF#CA78CF

#CA78CF is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.2% C 0.151 H 325.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CA78CF
RGBrgb(202, 120, 207)
HSLhsl(297, 48%, 64%)
HSVhsv(297, 42%, 81%)
CMYKcmyk(2.4%, 42%, 0%, 18.8%)
CIE-LABlab(62.08, 45.30, -31.75)
CIE-LCHlch(62.08, 55.32, 324.97°)
OKLaboklab(69.16% 0.1241 -0.0869)
OKLCHoklch(69.16% 0.151 325)
XYZxyz(42.3351, 30.4963, 62.6758)
Luminance0.3049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78CF #7DCF78
analogous
#9F78CF #CA78CF #CF78A9
triadic
#CA78CF #CFCA78 #78CFCA
tetradic
#CA78CF #CF9F78 #7DCF78 #78A9CF
square
#CA78CF #CF9F78 #7DCF78 #78A9CF
split-complementary
#CA78CF #A9CF78 #78CF9F
monochromatic
#913697 #B84BBF #CA78CF #DCA5DF #EDD2EF

Accessibility & contrast

On white

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

On black

7.10
#CA78CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78CF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78CF#FFFFFF#000000##000000
##CA78CF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F90D2
Deuteranopia (green-blind)
#859ACC
Tritanopia (blue-blind)
#CE819A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca78cf;
/* rgb */ color: rgb(202, 120, 207);
/* oklch */ color: oklch(69.2% 0.151 325.0);
Tailwind
colors: {
  custom: {
    50: '#dca1de',
    500: '#ca78cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca78cf;
$custom-light: #dca1de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78cf",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 296.552,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69155,
    "c": 0.15149,
    "h": 325
  },
  "luminance": 0.30494
}

Semantic roles & 50–950 ramp

primary
#CA78CF
secondary
#C4E1C2
accent
#BB2B33
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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