#CA91F8#CA91F8

#CA91F8 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.1% C 0.154 H 308.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CA91F8
RGBrgb(202, 145, 248)
HSLhsl(273, 88%, 77%)
HSVhsv(273, 42%, 97%)
CMYKcmyk(18.5%, 41.5%, 0%, 2.7%)
CIE-LABlab(69.17, 40.29, -43.40)
CIE-LCHlch(69.17, 59.22, 312.88°)
OKLaboklab(75.06% 0.0962 -0.1205)
OKLCHoklch(75.06% 0.154 308.6)
XYZxyz(51.4226, 39.5853, 93.7205)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91F8 #BFF891
analogous
#9791F8 #CA91F8 #F891F2
triadic
#CA91F8 #F8CA91 #91F8CA
tetradic
#CA91F8 #F89791 #BFF891 #91F2F8
square
#CA91F8 #F89791 #BFF891 #91F2F8
split-complementary
#CA91F8 #F2F891 #91F897
monochromatic
#931EF1 #AE57F4 #CA91F8 #E6CBFC #F1E2FD

Accessibility & contrast

On white

2.36
#CA91F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CA91F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91F8
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91F8#FFFFFF#000000##000000
##CA91F81.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#C4A1B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ca91f8;
/* rgb */ color: rgb(202, 145, 248);
/* oklch */ color: oklch(75.1% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#dcb2fb',
    500: '#ca91f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca91f8;
$custom-light: #dcb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91f8",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 273.204,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75057,
    "c": 0.1542,
    "h": 308.6
  },
  "luminance": 0.39585
}

Semantic roles & 50–950 ramp

primary
#CA91F8
secondary
#E4F5D6
accent
#E50167
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA91F8

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

Preview Lab → · Contrast checker → · Palette generator →

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