#CA78EC#CA78EC

#CA78EC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.181 H 315.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CA78EC
RGBrgb(202, 120, 236)
HSLhsl(282, 75%, 70%)
HSVhsv(282, 49%, 93%)
CMYKcmyk(14.4%, 49.2%, 0%, 7.5%)
CIE-LABlab(63.38, 51.00, -45.90)
CIE-LCHlch(63.38, 68.62, 318.01°)
OKLaboklab(70.55% 0.1287 -0.1277)
OKLCHoklch(70.55% 0.181 315.2)
XYZxyz(46.2116, 32.0469, 83.0920)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78EC #9AEC78
analogous
#9078EC #CA78EC #EC78D4
triadic
#CA78EC #ECCA78 #78ECCA
tetradic
#CA78EC #EC9078 #9AEC78 #78D4EC
square
#CA78EC #EC9078 #9AEC78 #78D4EC
split-complementary
#CA78EC #D4EC78 #78EC90
monochromatic
#991DCD #B542E4 #CA78EC #DFAEF4 #F4E3FB

Accessibility & contrast

On white

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

On black

7.41
#CA78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78EC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78EC#FFFFFF#000000##000000
##CA78EC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#C88AA7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca78ec;
/* rgb */ color: rgb(202, 120, 236);
/* oklch */ color: oklch(70.5% 0.181 315.2);
Tailwind
colors: {
  custom: {
    50: '#dca1f2',
    500: '#ca78ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca78ec;
$custom-light: #dca1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78ec",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 282.414,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7055,
    "c": 0.18128,
    "h": 315.2
  },
  "luminance": 0.32046
}

Semantic roles & 50–950 ramp

primary
#CA78EC
secondary
#D9F0D0
accent
#D70E49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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