#CA78F7#CA78F7

#CA78F7 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.193 H 312.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CA78F7
RGBrgb(202, 120, 247)
HSLhsl(279, 89%, 72%)
HSVhsv(279, 51%, 97%)
CMYKcmyk(18.2%, 51.4%, 0%, 3.1%)
CIE-LABlab(63.92, 53.29, -51.12)
CIE-LCHlch(63.92, 73.85, 316.19°)
OKLaboklab(71.13% 0.1298 -0.1428)
OKLCHoklch(71.13% 0.193 312.3)
XYZxyz(47.8592, 32.7060, 91.7694)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78F7 #A5F778
analogous
#8B78F7 #CA78F7 #F778E5
triadic
#CA78F7 #F7CA78 #78F7CA
tetradic
#CA78F7 #F78B78 #A5F778 #78E5F7
square
#CA78F7 #F78B78 #A5F778 #78E5F7
split-complementary
#CA78F7 #E5F778 #78F78B
monochromatic
#9A0EE7 #B33EF4 #CA78F7 #E1B2FA #F4E2FD

Accessibility & contrast

On white

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

On black

7.54
#CA78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78F7
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78F7#FFFFFF#000000##000000
##CA78F71.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#C58DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca78f7;
/* rgb */ color: rgb(202, 120, 247);
/* oklch */ color: oklch(71.1% 0.193 312.3);
Tailwind
colors: {
  custom: {
    50: '#dda1fa',
    500: '#ca78f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca78f7;
$custom-light: #dda1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78f7",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 278.74,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71125,
    "c": 0.19302,
    "h": 312.3
  },
  "luminance": 0.32705
}

Semantic roles & 50–950 ramp

primary
#CA78F7
secondary
#E1F5D5
accent
#E50051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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