#CA91F9#CA91F9

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

Color values

HEX#CA91F9
RGBrgb(202, 145, 249)
HSLhsl(273, 90%, 77%)
HSVhsv(273, 42%, 98%)
CMYKcmyk(18.9%, 41.8%, 0%, 2.4%)
CIE-LABlab(69.22, 40.51, -43.87)
CIE-LCHlch(69.22, 59.72, 312.72°)
OKLaboklab(75.11% 0.0963 -0.1219)
OKLCHoklch(75.11% 0.155 308.3)
XYZxyz(51.5781, 39.6475, 94.5397)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91F9 #C0F991
analogous
#9691F9 #CA91F9 #F991F4
triadic
#CA91F9 #F9CA91 #91F9CA
tetradic
#CA91F9 #F99691 #C0F991 #91F4F9
square
#CA91F9 #F99691 #C0F991 #91F4F9
split-complementary
#CA91F9 #F4F991 #91F996
monochromatic
#921DF3 #AE57F6 #CA91F9 #E6CBFC #F1E2FD

Accessibility & contrast

On white

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

On black

8.93
#CA91F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91F9
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91F9#FFFFFF#000000##000000
##CA91F91.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca91f9;
/* rgb */ color: rgb(202, 145, 249);
/* oklch */ color: oklch(75.1% 0.155 308.3);
Tailwind
colors: {
  custom: {
    50: '#dcb2fb',
    500: '#ca91f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca91f9;
$custom-light: #dcb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91f9",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 272.885,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75105,
    "c": 0.15538,
    "h": 308.3
  },
  "luminance": 0.39647
}

Semantic roles & 50–950 ramp

primary
#CA91F9
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA91F9

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

Preview Lab → · Contrast checker → · Palette generator →

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