#CA78F6#CA78F6

#CA78F6 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.1% C 0.192 H 312.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CA78F6
RGBrgb(202, 120, 246)
HSLhsl(279, 88%, 72%)
HSVhsv(279, 51%, 96%)
CMYKcmyk(17.9%, 51.2%, 0%, 3.5%)
CIE-LABlab(63.87, 53.08, -50.65)
CIE-LCHlch(63.87, 73.37, 316.34°)
OKLaboklab(71.07% 0.1298 -0.1414)
OKLCHoklch(71.07% 0.192 312.5)
XYZxyz(47.7053, 32.6444, 90.9589)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78F6 #A4F678
analogous
#8B78F6 #CA78F6 #F678E3
triadic
#CA78F6 #F6CA78 #78F6CA
tetradic
#CA78F6 #F68B78 #A4F678 #78E3F6
square
#CA78F6 #F68B78 #A4F678 #78E3F6
split-complementary
#CA78F6 #E3F678 #78F68B
monochromatic
#9A0FE4 #B33FF2 #CA78F6 #E1B1FA #F4E2FD

Accessibility & contrast

On white

2.79
#CA78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CA78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78F6
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78F6#FFFFFF#000000##000000
##CA78F61.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996FA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#C68DAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca78f6;
/* rgb */ color: rgb(202, 120, 246);
/* oklch */ color: oklch(71.1% 0.192 312.5);
Tailwind
colors: {
  custom: {
    50: '#dda1fa',
    500: '#ca78f6',
    950: '#000000',
  },
}
SCSS
$custom: #ca78f6;
$custom-light: #dda1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78f6",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 279.048,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.19195,
    "h": 312.5
  },
  "luminance": 0.32643
}

Semantic roles & 50–950 ramp

primary
#CA78F6
secondary
#E0F5D5
accent
#E40151
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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