#CA95FC#CA95FC

#CA95FC is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.9% C 0.152 H 306.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CA95FC
RGBrgb(202, 149, 252)
HSLhsl(271, 94%, 79%)
HSVhsv(271, 41%, 99%)
CMYKcmyk(19.8%, 40.9%, 0%, 1.2%)
CIE-LABlab(70.23, 39.00, -43.92)
CIE-LCHlch(70.23, 58.74, 311.61°)
OKLaboklab(75.91% 0.0913 -0.1221)
OKLCHoklch(75.91% 0.152 306.8)
XYZxyz(52.6718, 41.0802, 97.2310)
Luminance0.4108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA95FC #C7FC95
analogous
#9695FC #CA95FC #FC95FA
triadic
#CA95FC #FCCA95 #95FCCA
tetradic
#CA95FC #FC9695 #C7FC95 #95FAFC
square
#CA95FC #FC9695 #C7FC95 #95FAFC
split-complementary
#CA95FC #FAFC95 #95FC96
monochromatic
#8E1EF9 #AC59FA #CA95FC #E8D1FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.22
#CA95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA95FC
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA95FC#FFFFFF#000000##000000
##CA95FC1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca95fc;
/* rgb */ color: rgb(202, 149, 252);
/* oklch */ color: oklch(75.9% 0.152 306.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5fe',
    500: '#ca95fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca95fc;
$custom-light: #dcb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca95fc",
  "rgb": {
    "r": 202,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 270.874,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75913,
    "c": 0.15245,
    "h": 306.8
  },
  "luminance": 0.4108
}

Semantic roles & 50–950 ramp

primary
#CA95FC
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA95FC

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

Preview Lab → · Contrast checker → · Palette generator →

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