#CA78FB#CA78FB

#CA78FB is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.197 H 311.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CA78FB
RGBrgb(202, 120, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(19.5%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.12, 54.14, -53.00)
CIE-LCHlch(64.12, 75.76, 315.61°)
OKLaboklab(71.34% 0.1302 -0.1483)
OKLCHoklch(71.34% 0.197 311.3)
XYZxyz(48.4830, 32.9555, 95.0551)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78FB #A9FB78
analogous
#8878FB #CA78FB #FB78EB
triadic
#CA78FB #FBCA78 #78FBCA
tetradic
#CA78FB #FB8878 #A9FB78 #78EBFB
square
#CA78FB #FB8878 #A9FB78 #78EBFB
split-complementary
#CA78FB #EBFB78 #78FB88
monochromatic
#9A07F1 #B33DF9 #CA78FB #E1B3FD #F3E1FE

Accessibility & contrast

On white

2.77
#CA78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CA78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78FB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78FB#FFFFFF#000000##000000
##CA78FB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#C48EAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca78fb;
/* rgb */ color: rgb(202, 120, 251);
/* oklch */ color: oklch(71.3% 0.197 311.3);
Tailwind
colors: {
  custom: {
    50: '#dda2fd',
    500: '#ca78fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca78fb;
$custom-light: #dda2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78fb",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 277.557,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71341,
    "c": 0.19732,
    "h": 311.3
  },
  "luminance": 0.32955
}

Semantic roles & 50–950 ramp

primary
#CA78FB
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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