#CA78EE#CA78EE

#CA78EE is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.7% C 0.183 H 314.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA78EE
RGBrgb(202, 120, 238)
HSLhsl(282, 78%, 70%)
HSVhsv(282, 50%, 93%)
CMYKcmyk(15.1%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.48, 51.41, -46.86)
CIE-LCHlch(63.48, 69.56, 317.65°)
OKLaboklab(70.65% 0.1289 -0.1304)
OKLCHoklch(70.65% 0.183 314.7)
XYZxyz(46.5037, 32.1638, 84.6309)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78EE #9CEE78
analogous
#8F78EE #CA78EE #EE78D7
triadic
#CA78EE #EECA78 #78EECA
tetradic
#CA78EE #EE8F78 #9CEE78 #78D7EE
square
#CA78EE #EE8F78 #9CEE78 #78D7EE
split-complementary
#CA78EE #D7EE78 #78EE8F
monochromatic
#991AD1 #B542E7 #CA78EE #DFAEF5 #F4E4FC

Accessibility & contrast

On white

2.83
#CA78EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CA78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78EE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78EE#FFFFFF#000000##000000
##CA78EE1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#C78AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca78ee;
/* rgb */ color: rgb(202, 120, 238);
/* oklch */ color: oklch(70.7% 0.183 314.7);
Tailwind
colors: {
  custom: {
    50: '#dca1f4',
    500: '#ca78ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ee;
$custom-light: #dca1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ee",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 281.695,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70652,
    "c": 0.18341,
    "h": 314.7
  },
  "luminance": 0.32163
}

Semantic roles & 50–950 ramp

primary
#CA78EE
secondary
#DBF1D1
accent
#DA0C4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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