#CA95FB#CA95FB

#CA95FB is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.9% C 0.151 H 307.1°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CA95FB
RGBrgb(202, 149, 251)
HSLhsl(271, 93%, 78%)
HSVhsv(271, 41%, 98%)
CMYKcmyk(19.5%, 40.6%, 0%, 1.6%)
CIE-LABlab(70.19, 38.78, -43.44)
CIE-LCHlch(70.19, 58.24, 311.75°)
OKLaboklab(75.87% 0.0912 -0.1207)
OKLCHoklch(75.87% 0.151 307.1)
XYZxyz(52.5137, 41.0169, 96.3987)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95FB #C6FB95
analogous
#9795FB #CA95FB #FB95F9
triadic
#CA95FB #FBCA95 #95FBCA
tetradic
#CA95FB #FB9795 #C6FB95 #95F9FB
square
#CA95FB #FB9795 #C6FB95 #95F9FB
split-complementary
#CA95FB #F9FB95 #95FB97
monochromatic
#8F1FF7 #AD5AF9 #CA95FB #E7D0FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.20
#CA95FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95FB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95FB#FFFFFF#000000##000000
##CA95FB1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#C3A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca95fb;
/* rgb */ color: rgb(202, 149, 251);
/* oklch */ color: oklch(75.9% 0.151 307.1);
Tailwind
colors: {
  custom: {
    50: '#dcb5fd',
    500: '#ca95fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca95fb;
$custom-light: #dcb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95fb",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 271.176,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75865,
    "c": 0.15125,
    "h": 307.1
  },
  "luminance": 0.41016
}

Semantic roles & 50–950 ramp

primary
#CA95FB
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA95FB

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

Preview Lab → · Contrast checker → · Palette generator →

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