#CA78F9#CA78F9

#CA78F9 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.2% C 0.195 H 311.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CA78F9
RGBrgb(202, 120, 249)
HSLhsl(278, 91%, 72%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(18.9%, 51.8%, 0%, 2.4%)
CIE-LABlab(64.02, 53.71, -52.06)
CIE-LCHlch(64.02, 74.80, 315.89°)
OKLaboklab(71.23% 0.13 -0.1456)
OKLCHoklch(71.23% 0.195 311.8)
XYZxyz(48.1694, 32.8301, 93.4035)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78F9 #A7F978
analogous
#8A78F9 #CA78F9 #F978E7
triadic
#CA78F9 #F9CA78 #78F9CA
tetradic
#CA78F9 #F98A78 #A7F978 #78E7F9
square
#CA78F9 #F98A78 #A7F978 #78E7F9
split-complementary
#CA78F9 #E7F978 #78F98A
monochromatic
#9A0AEC #B33DF6 #CA78F9 #E1B3FC #F3E2FE

Accessibility & contrast

On white

2.78
#CA78F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CA78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78F9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78F9#FFFFFF#000000##000000
##CA78F91.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#C58DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca78f9;
/* rgb */ color: rgb(202, 120, 249);
/* oklch */ color: oklch(71.2% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#dda1fc',
    500: '#ca78f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca78f9;
$custom-light: #dda1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78f9",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 278.14,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.19517,
    "h": 311.8
  },
  "luminance": 0.32829
}

Semantic roles & 50–950 ramp

primary
#CA78F9
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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