#CA91FA#CA91FA

#CA91FA is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.157 H 308.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CA91FA
RGBrgb(202, 145, 250)
HSLhsl(273, 91%, 77%)
HSVhsv(273, 42%, 98%)
CMYKcmyk(19.2%, 42%, 0%, 2%)
CIE-LABlab(69.26, 40.73, -44.35)
CIE-LCHlch(69.26, 60.22, 312.56°)
OKLaboklab(75.15% 0.0965 -0.1233)
OKLCHoklch(75.15% 0.157 308.1)
XYZxyz(51.7345, 39.7100, 95.3633)
Luminance0.3971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91FA #C1FA91
analogous
#9591FA #CA91FA #FA91F6
triadic
#CA91FA #FACA91 #91FACA
tetradic
#CA91FA #FA9591 #C1FA91 #91F6FA
square
#CA91FA #FA9591 #C1FA91 #91F6FA
split-complementary
#CA91FA #F6FA91 #91FA95
monochromatic
#921CF5 #AE56F7 #CA91FA #E6CCFD #F1E2FE

Accessibility & contrast

On white

2.35
#CA91FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CA91FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91FA
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91FA#FFFFFF#000000##000000
##CA91FA1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#C4A1BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca91fa;
/* rgb */ color: rgb(202, 145, 250);
/* oklch */ color: oklch(75.2% 0.157 308.1);
Tailwind
colors: {
  custom: {
    50: '#dcb2fc',
    500: '#ca91fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca91fa;
$custom-light: #dcb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91fa",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 272.571,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75154,
    "c": 0.15656,
    "h": 308.1
  },
  "luminance": 0.39709
}

Semantic roles & 50–950 ramp

primary
#CA91FA
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA91FA

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

Preview Lab → · Contrast checker → · Palette generator →

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