#CA94DC#CA94DC

#CA94DC is a light, moderate purple. Relative luminance 0.389; OKLCH L 74.3% C 0.116 H 317.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CA94DC
RGBrgb(202, 148, 220)
HSLhsl(285, 51%, 72%)
HSVhsv(285, 33%, 86%)
CMYKcmyk(8.2%, 32.7%, 0%, 13.7%)
CIE-LABlab(68.68, 32.78, -28.79)
CIE-LCHlch(68.68, 43.63, 318.71°)
OKLaboklab(74.3% 0.0859 -0.0787)
OKLCHoklch(74.3% 0.116 317.5)
XYZxyz(47.8634, 38.9048, 72.6843)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94DC #A6DC94
analogous
#A694DC #CA94DC #DC94CA
triadic
#CA94DC #DCCA94 #94DCCA
tetradic
#CA94DC #DCA694 #A6DC94 #94CADC
square
#CA94DC #DCA694 #A6DC94 #94CADC
split-complementary
#CA94DC #CADC94 #94DCA6
monochromatic
#9A3DB9 #B366CD #CA94DC #E1C2EB #F4E8F7

Accessibility & contrast

On white

2.39
#CA94DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CA94DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94DC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94DC#FFFFFF#000000##000000
##CA94DC1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#97A9DA
Tritanopia (blue-blind)
#CA9DAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca94dc;
/* rgb */ color: rgb(202, 148, 220);
/* oklch */ color: oklch(74.3% 0.116 317.5);
Tailwind
colors: {
  custom: {
    50: '#dbb4e7',
    500: '#ca94dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca94dc;
$custom-light: #dbb4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94dc",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 220
  },
  "hsl": {
    "h": 285,
    "s": 50.704,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74304,
    "c": 0.11648,
    "h": 317.5
  },
  "luminance": 0.38904
}

Semantic roles & 50–950 ramp

primary
#CA94DC
secondary
#E1EFDC
accent
#BE274D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA94DC

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

Preview Lab → · Contrast checker → · Palette generator →

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