#CA95FD#CA95FD

#CA95FD is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.0% C 0.154 H 306.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CA95FD
RGBrgb(202, 149, 253)
HSLhsl(271, 96%, 79%)
HSVhsv(271, 41%, 99%)
CMYKcmyk(20.2%, 41.1%, 0%, 0.8%)
CIE-LABlab(70.28, 39.22, -44.39)
CIE-LCHlch(70.28, 59.24, 311.46°)
OKLaboklab(75.96% 0.0915 -0.1234)
OKLCHoklch(75.96% 0.154 306.6)
XYZxyz(52.8307, 41.1437, 98.0678)
Luminance0.4114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95FD #C8FD95
analogous
#9695FD #CA95FD #FD95FC
triadic
#CA95FD #FDCA95 #95FDCA
tetradic
#CA95FD #FD9695 #C8FD95 #95FCFD
square
#CA95FD #FD9695 #C8FD95 #95FCFD
split-complementary
#CA95FD #FCFD95 #95FD96
monochromatic
#8E1DFB #AC59FC #CA95FD #E8D1FE #F0E1FE

Accessibility & contrast

On white

2.28
#CA95FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CA95FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95FD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95FD#FFFFFF#000000##000000
##CA95FD1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#C3A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca95fd;
/* rgb */ color: rgb(202, 149, 253);
/* oklch */ color: oklch(76.0% 0.154 306.6);
Tailwind
colors: {
  custom: {
    50: '#dcb5fe',
    500: '#ca95fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca95fd;
$custom-light: #dcb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95fd",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 270.577,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75961,
    "c": 0.15366,
    "h": 306.6
  },
  "luminance": 0.41143
}

Semantic roles & 50–950 ramp

primary
#CA95FD
secondary
#E5F7D4
accent
#E60071
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA95FD

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

Preview Lab → · Contrast checker → · Palette generator →

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