#CA95F9#CA95F9

#CA95F9 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.149 H 307.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CA95F9
RGBrgb(202, 149, 249)
HSLhsl(272, 89%, 78%)
HSVhsv(272, 40%, 98%)
CMYKcmyk(18.9%, 40.2%, 0%, 2.4%)
CIE-LABlab(70.10, 38.34, -42.49)
CIE-LCHlch(70.10, 57.23, 312.06°)
OKLaboklab(75.77% 0.0908 -0.1179)
OKLCHoklch(75.77% 0.149 307.6)
XYZxyz(52.2001, 40.8915, 94.7471)
Luminance0.4089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95F9 #C4F995
analogous
#9895F9 #CA95F9 #F995F6
triadic
#CA95F9 #F9CA95 #95F9CA
tetradic
#CA95F9 #F99895 #C4F995 #95F6F9
square
#CA95F9 #F99895 #C4F995 #95F6F9
split-complementary
#CA95F9 #F6F995 #95F998
monochromatic
#9021F2 #AD5BF6 #CA95F9 #E7CFFC #F1E2FD

Accessibility & contrast

On white

2.29
#CA95F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CA95F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95F9
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95F9#FFFFFF#000000##000000
##CA95F91.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FD
Deuteranopia (green-blind)
#8BACF6
Tritanopia (blue-blind)
#C4A4BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ca95f9;
/* rgb */ color: rgb(202, 149, 249);
/* oklch */ color: oklch(75.8% 0.149 307.6);
Tailwind
colors: {
  custom: {
    50: '#dbb5fb',
    500: '#ca95f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca95f9;
$custom-light: #dbb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95f9",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 271.8,
    "s": 89.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7577,
    "c": 0.14884,
    "h": 307.6
  },
  "luminance": 0.40891
}

Semantic roles & 50–950 ramp

primary
#CA95F9
secondary
#E5F5D6
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA95F9

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

Preview Lab → · Contrast checker → · Palette generator →

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