#CA91FB#CA91FB

#CA91FB is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.2% C 0.158 H 307.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CA91FB
RGBrgb(202, 145, 251)
HSLhsl(272, 93%, 78%)
HSVhsv(272, 42%, 98%)
CMYKcmyk(19.5%, 42.2%, 0%, 1.6%)
CIE-LABlab(69.31, 40.95, -44.82)
CIE-LCHlch(69.31, 60.71, 312.41°)
OKLaboklab(75.2% 0.0967 -0.1247)
OKLCHoklch(75.2% 0.158 307.8)
XYZxyz(51.8917, 39.7729, 96.1913)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91FB #C2FB91
analogous
#9591FB #CA91FB #FB91F7
triadic
#CA91FB #FBCA91 #91FBCA
tetradic
#CA91FB #FB9591 #C2FB91 #91F7FB
square
#CA91FB #FB9591 #C2FB91 #91F7FB
split-complementary
#CA91FB #F7FB91 #91FB95
monochromatic
#911BF7 #AE56F9 #CA91FB #E6CCFD #F1E1FE

Accessibility & contrast

On white

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

On black

8.95
#CA91FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91FB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91FB#FFFFFF#000000##000000
##CA91FB1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#C3A2BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca91fb;
/* rgb */ color: rgb(202, 145, 251);
/* oklch */ color: oklch(75.2% 0.158 307.8);
Tailwind
colors: {
  custom: {
    50: '#dcb2fd',
    500: '#ca91fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca91fb;
$custom-light: #dcb2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91fb",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 272.264,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75202,
    "c": 0.15775,
    "h": 307.8
  },
  "luminance": 0.39772
}

Semantic roles & 50–950 ramp

primary
#CA91FB
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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