#CA95EF#CA95EF

#CA95EF is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.3% C 0.137 H 310.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CA95EF
RGBrgb(202, 149, 239)
HSLhsl(275, 74%, 76%)
HSVhsv(275, 38%, 94%)
CMYKcmyk(15.5%, 37.7%, 0%, 6.3%)
CIE-LABlab(69.67, 36.18, -37.70)
CIE-LCHlch(69.67, 52.25, 313.82°)
OKLaboklab(75.31% 0.0888 -0.1041)
OKLCHoklch(75.31% 0.137 310.5)
XYZxyz(50.6818, 40.2842, 86.7503)
Luminance0.4028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95EF #BAEF95
analogous
#9D95EF #CA95EF #EF95E7
triadic
#CA95EF #EFCA95 #95EFCA
tetradic
#CA95EF #EF9D95 #BAEF95 #95E7EF
square
#CA95EF #EF9D95 #BAEF95 #95E7EF
split-complementary
#CA95EF #E7EF95 #95EF9D
monochromatic
#952BDF #AF60E7 #CA95EF #E5CAF7 #F2E4FB

Accessibility & contrast

On white

2.32
#CA95EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CA95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95EF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95EF#FFFFFF#000000##000000
##CA95EF1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#C6A2B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca95ef;
/* rgb */ color: rgb(202, 149, 239);
/* oklch */ color: oklch(75.3% 0.137 310.5);
Tailwind
colors: {
  custom: {
    50: '#dbb5f4',
    500: '#ca95ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca95ef;
$custom-light: #dbb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95ef",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 275.333,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75306,
    "c": 0.13687,
    "h": 310.5
  },
  "luminance": 0.40283
}

Semantic roles & 50–950 ramp

primary
#CA95EF
secondary
#E3F3D8
accent
#D61061
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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