#CA78FD#CA78FD

#CA78FD is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.5% C 0.199 H 310.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CA78FD
RGBrgb(202, 120, 253)
HSLhsl(277, 97%, 73%)
HSVhsv(277, 53%, 99%)
CMYKcmyk(20.2%, 52.6%, 0%, 0.8%)
CIE-LABlab(64.23, 54.56, -53.94)
CIE-LCHlch(64.23, 76.72, 315.33°)
OKLaboklab(71.45% 0.1303 -0.151)
OKLCHoklch(71.45% 0.199 310.8)
XYZxyz(48.8000, 33.0823, 96.7242)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78FD #ABFD78
analogous
#8778FD #CA78FD #FD78EE
triadic
#CA78FD #FDCA78 #78FDCA
tetradic
#CA78FD #FD8778 #ABFD78 #78EEFD
square
#CA78FD #FD8778 #ABFD78 #78EEFD
split-complementary
#CA78FD #EEFD78 #78FD87
monochromatic
#9A04F7 #B23CFC #CA78FD #E2B4FE #F3E1FF

Accessibility & contrast

On white

2.76
#CA78FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CA78FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78FD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78FD#FFFFFF#000000##000000
##CA78FD1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6E9DFA
Tritanopia (blue-blind)
#C48FAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca78fd;
/* rgb */ color: rgb(202, 120, 253);
/* oklch */ color: oklch(71.5% 0.199 310.8);
Tailwind
colors: {
  custom: {
    50: '#dda2fe',
    500: '#ca78fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca78fd;
$custom-light: #dda2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78fd",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 276.992,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7145,
    "c": 0.19948,
    "h": 310.8
  },
  "luminance": 0.33081
}

Semantic roles & 50–950 ramp

primary
#CA78FD
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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