#CA78CD#CA78CD

#CA78CD is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.1% C 0.150 H 325.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA78CD
RGBrgb(202, 120, 205)
HSLhsl(298, 46%, 64%)
HSVhsv(298, 41%, 80%)
CMYKcmyk(1.5%, 41.5%, 0%, 19.6%)
CIE-LABlab(62.00, 44.92, -30.75)
CIE-LCHlch(62.00, 54.44, 325.60°)
OKLaboklab(69.07% 0.1237 -0.0841)
OKLCHoklch(69.07% 0.15 325.8)
XYZxyz(42.0921, 30.3992, 61.3962)
Luminance0.3040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA78CD #7BCD78
analogous
#9F78CD #CA78CD #CD78A5
triadic
#CA78CD #CDCA78 #78CDCA
tetradic
#CA78CD #CD9F78 #7BCD78 #78A5CD
square
#CA78CD #CD9F78 #7BCD78 #78A5CD
split-complementary
#CA78CD #A5CD78 #78CD9F
monochromatic
#913794 #B84BBC #CA78CD #DCA5DE #EDD1EE

Accessibility & contrast

On white

2.97
#CA78CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CA78CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA78CD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA78CD#FFFFFF#000000##000000
##CA78CD1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD0
Deuteranopia (green-blind)
#8699CA
Tritanopia (blue-blind)
#CE8199
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca78cd;
/* rgb */ color: rgb(202, 120, 205);
/* oklch */ color: oklch(69.1% 0.150 325.8);
Tailwind
colors: {
  custom: {
    50: '#dca1dc',
    500: '#ca78cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca78cd;
$custom-light: #dca1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca78cd",
  "rgb": {
    "r": 202,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 297.882,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.14953,
    "h": 325.8
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#CA78CD
secondary
#C2DFC1
accent
#B92C31
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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