#CA78ED#CA78ED

#CA78ED is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.182 H 315.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CA78ED
RGBrgb(202, 120, 237)
HSLhsl(282, 76%, 70%)
HSVhsv(282, 49%, 93%)
CMYKcmyk(14.8%, 49.4%, 0%, 7.1%)
CIE-LABlab(63.43, 51.21, -46.38)
CIE-LCHlch(63.43, 69.09, 317.83°)
OKLaboklab(70.6% 0.1288 -0.129)
OKLCHoklch(70.6% 0.182 315)
XYZxyz(46.3572, 32.1052, 83.8593)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78ED #9BED78
analogous
#8F78ED #CA78ED #ED78D6
triadic
#CA78ED #EDCA78 #78EDCA
tetradic
#CA78ED #ED8F78 #9BED78 #78D6ED
square
#CA78ED #ED8F78 #9BED78 #78D6ED
split-complementary
#CA78ED #D6ED78 #78ED8F
monochromatic
#991CCF #B542E6 #CA78ED #DFAEF4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.42
#CA78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78ED
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78ED#FFFFFF#000000##000000
##CA78ED1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#C88AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca78ed;
/* rgb */ color: rgb(202, 120, 237);
/* oklch */ color: oklch(70.6% 0.182 315.0);
Tailwind
colors: {
  custom: {
    50: '#dca1f3',
    500: '#ca78ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ed;
$custom-light: #dca1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ed",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 282.051,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.70601,
    "c": 0.18233,
    "h": 315
  },
  "luminance": 0.32104
}

Semantic roles & 50–950 ramp

primary
#CA78ED
secondary
#DAF1D0
accent
#D90D4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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