#CA95E2#CA95E2

#CA95E2 is a light, vivid purple. Relative luminance 0.395; OKLCH L 74.7% C 0.122 H 314.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CA95E2
RGBrgb(202, 149, 226)
HSLhsl(281, 57%, 74%)
HSVhsv(281, 34%, 89%)
CMYKcmyk(10.6%, 34.1%, 0%, 11.4%)
CIE-LABlab(69.14, 33.46, -31.39)
CIE-LCHlch(69.14, 45.87, 316.83°)
OKLaboklab(74.73% 0.0859 -0.0861)
OKLCHoklch(74.73% 0.122 314.9)
XYZxyz(48.8299, 39.5434, 76.9971)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95E2 #ADE295
analogous
#A395E2 #CA95E2 #E295D3
triadic
#CA95E2 #E2CA95 #95E2CA
tetradic
#CA95E2 #E2A395 #ADE295 #95D3E2
square
#CA95E2 #E2A395 #ADE295 #95D3E2
split-complementary
#CA95E2 #D3E295 #95E2A3
monochromatic
#9936C6 #B265D5 #CA95E2 #E2C5EF #F3E7F8

Accessibility & contrast

On white

2.36
#CA95E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CA95E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95E2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95E2#FFFFFF#000000##000000
##CA95E21.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#C99FB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca95e2;
/* rgb */ color: rgb(202, 149, 226);
/* oklch */ color: oklch(74.7% 0.122 314.9);
Tailwind
colors: {
  custom: {
    50: '#dbb5eb',
    500: '#ca95e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca95e2;
$custom-light: #dbb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95e2",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 226
  },
  "hsl": {
    "h": 281.299,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74731,
    "c": 0.12161,
    "h": 314.9
  },
  "luminance": 0.39542
}

Semantic roles & 50–950 ramp

primary
#CA95E2
secondary
#E2F0DB
accent
#C52154
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA95E2

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

Preview Lab → · Contrast checker → · Palette generator →

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