#CA95FA#CA95FA

#CA95FA is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.8% C 0.150 H 307.3°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CA95FA
RGBrgb(202, 149, 250)
HSLhsl(271, 91%, 78%)
HSVhsv(271, 40%, 98%)
CMYKcmyk(19.2%, 40.4%, 0%, 2%)
CIE-LABlab(70.14, 38.56, -42.97)
CIE-LCHlch(70.14, 57.73, 311.91°)
OKLaboklab(75.82% 0.091 -0.1193)
OKLCHoklch(75.82% 0.15 307.3)
XYZxyz(52.3565, 40.9541, 95.5707)
Luminance0.4095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95FA #C5FA95
analogous
#9795FA #CA95FA #FA95F8
triadic
#CA95FA #FACA95 #95FACA
tetradic
#CA95FA #FA9795 #C5FA95 #95F8FA
square
#CA95FA #FA9795 #C5FA95 #95F8FA
split-complementary
#CA95FA #F8FA95 #95FA97
monochromatic
#9020F4 #AD5BF7 #CA95FA #E7CFFD #F0E2FE

Accessibility & contrast

On white

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

On black

9.19
#CA95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95FA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95FA#FFFFFF#000000##000000
##CA95FA1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#C3A5BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca95fa;
/* rgb */ color: rgb(202, 149, 250);
/* oklch */ color: oklch(75.8% 0.150 307.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5fc',
    500: '#ca95fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca95fa;
$custom-light: #dcb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95fa",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 271.485,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75817,
    "c": 0.15004,
    "h": 307.3
  },
  "luminance": 0.40954
}

Semantic roles & 50–950 ramp

primary
#CA95FA
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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