#CA78F4#CA78F4

#CA78F4 is a light, vivid violet. Relative luminance 0.325; OKLCH L 71.0% C 0.190 H 313.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CA78F4
RGBrgb(202, 120, 244)
HSLhsl(280, 85%, 71%)
HSVhsv(280, 51%, 96%)
CMYKcmyk(17.2%, 50.8%, 0%, 4.3%)
CIE-LABlab(63.77, 52.66, -49.71)
CIE-LCHlch(63.77, 72.41, 316.65°)
OKLaboklab(70.97% 0.1296 -0.1387)
OKLCHoklch(70.97% 0.19 313)
XYZxyz(47.4000, 32.5223, 89.3509)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78F4 #A2F478
analogous
#8C78F4 #CA78F4 #F478E0
triadic
#CA78F4 #F4CA78 #78F4CA
tetradic
#CA78F4 #F48C78 #A2F478 #78E0F4
square
#CA78F4 #F48C78 #A2F478 #78E0F4
split-complementary
#CA78F4 #E0F478 #78F48C
monochromatic
#9A12DF #B43FEF #CA78F4 #E0B1F9 #F4E3FD

Accessibility & contrast

On white

2.80
#CA78F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CA78F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78F4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78F4#FFFFFF#000000##000000
##CA78F41.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F8
Deuteranopia (green-blind)
#739CF1
Tritanopia (blue-blind)
#C68CAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca78f4;
/* rgb */ color: rgb(202, 120, 244);
/* oklch */ color: oklch(71.0% 0.190 313.0);
Tailwind
colors: {
  custom: {
    50: '#dca1f8',
    500: '#ca78f4',
    950: '#000000',
  },
}
SCSS
$custom: #ca78f4;
$custom-light: #dca1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78f4",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 279.677,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.1898,
    "h": 313
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#CA78F4
secondary
#DFF4D4
accent
#E1044F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78F4

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

Preview Lab → · Contrast checker → · Palette generator →

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