#CA78F8#CA78F8

#CA78F8 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.2% C 0.194 H 312.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CA78F8
RGBrgb(202, 120, 248)
HSLhsl(278, 90%, 72%)
HSVhsv(278, 52%, 97%)
CMYKcmyk(18.5%, 51.6%, 0%, 2.7%)
CIE-LABlab(63.97, 53.50, -51.59)
CIE-LCHlch(63.97, 74.33, 316.04°)
OKLaboklab(71.18% 0.1299 -0.1442)
OKLCHoklch(71.18% 0.194 312)
XYZxyz(48.0139, 32.7679, 92.5843)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78F8 #A6F878
analogous
#8A78F8 #CA78F8 #F878E6
triadic
#CA78F8 #F8CA78 #78F8CA
tetradic
#CA78F8 #F88A78 #A6F878 #78E6F8
square
#CA78F8 #F88A78 #A6F878 #78E6F8
split-complementary
#CA78F8 #E6F878 #78F88A
monochromatic
#9A0CE9 #B33EF5 #CA78F8 #E1B2FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.55
#CA78F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78F8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78F8#FFFFFF#000000##000000
##CA78F81.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#C58DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca78f8;
/* rgb */ color: rgb(202, 120, 248);
/* oklch */ color: oklch(71.2% 0.194 312.0);
Tailwind
colors: {
  custom: {
    50: '#dda1fb',
    500: '#ca78f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca78f8;
$custom-light: #dda1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78f8",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 278.438,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71179,
    "c": 0.19409,
    "h": 312
  },
  "luminance": 0.32767
}

Semantic roles & 50–950 ramp

primary
#CA78F8
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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