#CA78FE#CA78FE

#CA78FE is a light, highly saturated violet. Relative luminance 0.331; OKLCH L 71.5% C 0.201 H 310.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CA78FE
RGBrgb(202, 120, 254)
HSLhsl(277, 99%, 73%)
HSVhsv(277, 53%, 100%)
CMYKcmyk(20.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(64.28, 54.78, -54.40)
CIE-LCHlch(64.28, 77.20, 315.20°)
OKLaboklab(71.51% 0.1304 -0.1524)
OKLCHoklch(71.51% 0.201 310.6)
XYZxyz(48.9597, 33.1462, 97.5654)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78FE #ACFE78
analogous
#8778FE #CA78FE #FE78EF
triadic
#CA78FE #FECA78 #78FECA
tetradic
#CA78FE #FE8778 #ACFE78 #78EFFE
square
#CA78FE #FE8778 #ACFE78 #78EFFE
split-complementary
#CA78FE #EFFE78 #78FE87
monochromatic
#9A02FA #B23BFE #CA78FE #E2B5FE #F3E1FF

Accessibility & contrast

On white

2.75
#CA78FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CA78FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78FE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78FE#FFFFFF#000000##000000
##CA78FE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#C48FB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca78fe;
/* rgb */ color: rgb(202, 120, 254);
/* oklch */ color: oklch(71.5% 0.201 310.6);
Tailwind
colors: {
  custom: {
    50: '#dda2ff',
    500: '#ca78fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca78fe;
$custom-light: #dda2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78fe",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 276.716,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71505,
    "c": 0.20055,
    "h": 310.6
  },
  "luminance": 0.33145
}

Semantic roles & 50–950 ramp

primary
#CA78FE
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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