#CA91FF#CA91FF

#CA91FF is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.4% C 0.163 H 306.8°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CA91FF
RGBrgb(202, 145, 255)
HSLhsl(271, 100%, 78%)
HSVhsv(271, 43%, 100%)
CMYKcmyk(20.8%, 43.1%, 0%, 0%)
CIE-LABlab(69.49, 41.83, -46.72)
CIE-LCHlch(69.49, 62.71, 311.84°)
OKLaboklab(75.4% 0.0973 -0.1301)
OKLCHoklch(75.4% 0.163 306.8)
XYZxyz(52.5289, 40.0278, 99.5472)
Luminance0.4003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91FF #C6FF91
analogous
#9391FF #CA91FF #FF91FD
triadic
#CA91FF #FFCA91 #91FFCA
tetradic
#CA91FF #FF9391 #C6FF91 #91FDFF
square
#CA91FF #FF9391 #C6FF91 #91FDFF
split-complementary
#CA91FF #FDFF91 #91FF93
monochromatic
#8F17FF #AD54FF #CA91FF #E7CEFF #F0E0FF

Accessibility & contrast

On white

2.33
#CA91FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CA91FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91FF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91FF#FFFFFF#000000##000000
##CA91FF1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#C2A3BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ca91ff;
/* rgb */ color: rgb(202, 145, 255);
/* oklch */ color: oklch(75.4% 0.163 306.8);
Tailwind
colors: {
  custom: {
    50: '#dcb2ff',
    500: '#ca91ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca91ff;
$custom-light: #dcb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91ff",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 255
  },
  "hsl": {
    "h": 271.091,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75398,
    "c": 0.1625,
    "h": 306.8
  },
  "luminance": 0.40027
}

Semantic roles & 50–950 ramp

primary
#CA91FF
secondary
#E5F7D4
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA91FF

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

Preview Lab → · Contrast checker → · Palette generator →

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