#CA91FE#CA91FE

#CA91FE is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.3% C 0.161 H 307.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CA91FE
RGBrgb(202, 145, 254)
HSLhsl(271, 98%, 78%)
HSVhsv(271, 43%, 100%)
CMYKcmyk(20.5%, 42.9%, 0%, 0.4%)
CIE-LABlab(69.44, 41.61, -46.24)
CIE-LCHlch(69.44, 62.21, 311.98°)
OKLaboklab(75.35% 0.0972 -0.1288)
OKLCHoklch(75.35% 0.161 307)
XYZxyz(52.3684, 39.9636, 98.7016)
Luminance0.3996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91FE #C5FE91
analogous
#9391FE #CA91FE #FE91FC
triadic
#CA91FE #FECA91 #91FECA
tetradic
#CA91FE #FE9391 #C5FE91 #91FCFE
square
#CA91FE #FE9391 #C5FE91 #91FCFE
split-complementary
#CA91FE #FCFE91 #91FE93
monochromatic
#9018FD #AD54FD #CA91FE #E7CEFF #F0E1FF

Accessibility & contrast

On white

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

On black

8.99
#CA91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91FE
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91FE#FFFFFF#000000##000000
##CA91FE1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#C3A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca91fe;
/* rgb */ color: rgb(202, 145, 254);
/* oklch */ color: oklch(75.3% 0.161 307.0);
Tailwind
colors: {
  custom: {
    50: '#dcb2ff',
    500: '#ca91fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca91fe;
$custom-light: #dcb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91fe",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 271.376,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75349,
    "c": 0.16132,
    "h": 307
  },
  "luminance": 0.39963
}

Semantic roles & 50–950 ramp

primary
#CA91FE
secondary
#E5F7D4
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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