#CA78F3#CA78F3

#CA78F3 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.189 H 313.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CA78F3
RGBrgb(202, 120, 243)
HSLhsl(280, 84%, 71%)
HSVhsv(280, 51%, 95%)
CMYKcmyk(16.9%, 50.6%, 0%, 4.7%)
CIE-LABlab(63.72, 52.45, -49.23)
CIE-LCHlch(63.72, 71.94, 316.81°)
OKLaboklab(70.91% 0.1295 -0.1373)
OKLCHoklch(70.91% 0.189 313.3)
XYZxyz(47.2485, 32.4617, 88.5534)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78F3 #A1F378
analogous
#8C78F3 #CA78F3 #F378DE
triadic
#CA78F3 #F3CA78 #78F3CA
tetradic
#CA78F3 #F38C78 #A1F378 #78DEF3
square
#CA78F3 #F38C78 #A1F378 #78DEF3
split-complementary
#CA78F3 #DEF378 #78F38C
monochromatic
#9A14DD #B440EE #CA78F3 #E0B0F8 #F4E3FD

Accessibility & contrast

On white

2.80
#CA78F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CA78F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78F3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78F3#FFFFFF#000000##000000
##CA78F31.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F7
Deuteranopia (green-blind)
#749CF0
Tritanopia (blue-blind)
#C68CAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca78f3;
/* rgb */ color: rgb(202, 120, 243);
/* oklch */ color: oklch(70.9% 0.189 313.3);
Tailwind
colors: {
  custom: {
    50: '#dca1f7',
    500: '#ca78f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca78f3;
$custom-light: #dca1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78f3",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 280,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70913,
    "c": 0.18874,
    "h": 313.3
  },
  "luminance": 0.32461
}

Semantic roles & 50–950 ramp

primary
#CA78F3
secondary
#DEF4D3
accent
#E0054E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78F3

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

Preview Lab → · Contrast checker → · Palette generator →

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