#CA94E2#CA94E2

#CA94E2 is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.6% C 0.123 H 315.1°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CA94E2
RGBrgb(202, 148, 226)
HSLhsl(282, 57%, 73%)
HSVhsv(282, 35%, 89%)
CMYKcmyk(10.6%, 34.5%, 0%, 11.4%)
CIE-LABlab(68.92, 34.00, -31.74)
CIE-LCHlch(68.92, 46.51, 316.98°)
OKLaboklab(74.56% 0.0873 -0.0871)
OKLCHoklch(74.56% 0.123 315.1)
XYZxyz(48.6724, 39.2283, 76.9446)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA94E2 #ACE294
analogous
#A394E2 #CA94E2 #E294D3
triadic
#CA94E2 #E2CA94 #94E2CA
tetradic
#CA94E2 #E2A394 #ACE294 #94D3E2
square
#CA94E2 #E2A394 #ACE294 #94D3E2
split-complementary
#CA94E2 #D3E294 #94E2A3
monochromatic
#9A36C6 #B264D5 #CA94E2 #E2C4EF #F3E7F8

Accessibility & contrast

On white

2.37
#CA94E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CA94E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA94E2
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA94E2#FFFFFF#000000##000000
##CA94E21.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#C99EB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca94e2;
/* rgb */ color: rgb(202, 148, 226);
/* oklch */ color: oklch(74.6% 0.123 315.1);
Tailwind
colors: {
  custom: {
    50: '#dbb4eb',
    500: '#ca94e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca94e2;
$custom-light: #dbb4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca94e2",
  "rgb": {
    "r": 202,
    "g": 148,
    "b": 226
  },
  "hsl": {
    "h": 281.538,
    "s": 57.353,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74559,
    "c": 0.12334,
    "h": 315.1
  },
  "luminance": 0.39227
}

Semantic roles & 50–950 ramp

primary
#CA94E2
secondary
#E2F0DB
accent
#C52153
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA94E2

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

Preview Lab → · Contrast checker → · Palette generator →

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