#CA78EF#CA78EF

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

Color values

HEX#CA78EF
RGBrgb(202, 120, 239)
HSLhsl(281, 79%, 70%)
HSVhsv(281, 50%, 94%)
CMYKcmyk(15.5%, 49.8%, 0%, 6.3%)
CIE-LABlab(63.53, 51.62, -47.33)
CIE-LCHlch(63.53, 70.04, 317.48°)
OKLaboklab(70.7% 0.1291 -0.1318)
OKLCHoklch(70.7% 0.184 314.4)
XYZxyz(46.6511, 32.2227, 85.4068)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78EF #9DEF78
analogous
#8F78EF #CA78EF #EF78D8
triadic
#CA78EF #EFCA78 #78EFCA
tetradic
#CA78EF #EF8F78 #9DEF78 #78D8EF
square
#CA78EF #EF8F78 #9DEF78 #78D8EF
split-complementary
#CA78EF #D8EF78 #78EF8F
monochromatic
#9A19D4 #B541E9 #CA78EF #DFAFF5 #F4E4FC

Accessibility & contrast

On white

2.82
#CA78EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CA78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78EF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78EF#FFFFFF#000000##000000
##CA78EF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#C78AA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca78ef;
/* rgb */ color: rgb(202, 120, 239);
/* oklch */ color: oklch(70.7% 0.184 314.4);
Tailwind
colors: {
  custom: {
    50: '#dca1f5',
    500: '#ca78ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ef;
$custom-light: #dca1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ef",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 281.345,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70704,
    "c": 0.18447,
    "h": 314.4
  },
  "luminance": 0.32221
}

Semantic roles & 50–950 ramp

primary
#CA78EF
secondary
#DBF2D1
accent
#DB0A4B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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