#CA91E7#CA91E7

#CA91E7 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.3% C 0.134 H 313.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CA91E7
RGBrgb(202, 145, 231)
HSLhsl(280, 64%, 74%)
HSVhsv(280, 37%, 91%)
CMYKcmyk(12.6%, 37.2%, 0%, 9.4%)
CIE-LABlab(68.44, 36.67, -35.22)
CIE-LCHlch(68.44, 50.85, 316.16°)
OKLaboklab(74.27% 0.0928 -0.097)
OKLCHoklch(74.27% 0.134 313.7)
XYZxyz(48.9040, 38.5778, 80.4559)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91E7 #AEE791
analogous
#9F91E7 #CA91E7 #E791D9
triadic
#CA91E7 #E7CA91 #91E7CA
tetradic
#CA91E7 #E79F91 #AEE791 #91D9E7
square
#CA91E7 #E79F91 #AEE791 #91D9E7
split-complementary
#CA91E7 #D9E791 #91E79F
monochromatic
#992DD0 #B25FDC #CA91E7 #E2C3F2 #F3E6FA

Accessibility & contrast

On white

2.41
#CA91E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CA91E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91E7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91E7#FFFFFF#000000##000000
##CA91E71.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A4EA
Deuteranopia (green-blind)
#90A8E4
Tritanopia (blue-blind)
#C89DB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca91e7;
/* rgb */ color: rgb(202, 145, 231);
/* oklch */ color: oklch(74.3% 0.134 313.7);
Tailwind
colors: {
  custom: {
    50: '#dbb2ef',
    500: '#ca91e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca91e7;
$custom-light: #dbb2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91e7",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 231
  },
  "hsl": {
    "h": 279.767,
    "s": 64.179,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74268,
    "c": 0.13427,
    "h": 313.7
  },
  "luminance": 0.38577
}

Semantic roles & 50–950 ramp

primary
#CA91E7
secondary
#E2F1DA
accent
#CC1A56
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA91E7

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

Preview Lab → · Contrast checker → · Palette generator →

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