#CA91FC#CA91FC

#CA91FC is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.3% C 0.159 H 307.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CA91FC
RGBrgb(202, 145, 252)
HSLhsl(272, 95%, 78%)
HSVhsv(272, 42%, 99%)
CMYKcmyk(19.8%, 42.5%, 0%, 1.2%)
CIE-LABlab(69.35, 41.17, -45.30)
CIE-LCHlch(69.35, 61.21, 312.27°)
OKLaboklab(75.25% 0.0968 -0.126)
OKLCHoklch(75.25% 0.159 307.5)
XYZxyz(52.0498, 39.8361, 97.0237)
Luminance0.3984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91FC #C3FC91
analogous
#9591FC #CA91FC #FC91F8
triadic
#CA91FC #FCCA91 #91FCCA
tetradic
#CA91FC #FC9591 #C3FC91 #91F8FC
square
#CA91FC #FC9591 #C3FC91 #91F8FC
split-complementary
#CA91FC #F8FC91 #91FC95
monochromatic
#911AF9 #AD55FA #CA91FC #E7CDFE #F1E1FE

Accessibility & contrast

On white

2.34
#CA91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CA91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91FC
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91FC#FFFFFF#000000##000000
##CA91FC1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#C3A2BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca91fc;
/* rgb */ color: rgb(202, 145, 252);
/* oklch */ color: oklch(75.3% 0.159 307.5);
Tailwind
colors: {
  custom: {
    50: '#dcb2fe',
    500: '#ca91fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca91fc;
$custom-light: #dcb2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91fc",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 271.963,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75251,
    "c": 0.15894,
    "h": 307.5
  },
  "luminance": 0.39836
}

Semantic roles & 50–950 ramp

primary
#CA91FC
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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