#CA91EC#CA91EC

#CA91EC is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.5% C 0.140 H 312.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CA91EC
RGBrgb(202, 145, 236)
HSLhsl(278, 71%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.4%, 38.6%, 0%, 7.5%)
CIE-LABlab(68.65, 37.72, -37.64)
CIE-LCHlch(68.65, 53.29, 315.06°)
OKLaboklab(74.49% 0.0939 -0.104)
OKLCHoklch(74.49% 0.14 312.1)
XYZxyz(49.6203, 38.8643, 84.2282)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91EC #B3EC91
analogous
#9C91EC #CA91EC #EC91E1
triadic
#CA91EC #ECCA91 #91ECCA
tetradic
#CA91EC #EC9C91 #B3EC91 #91E1EC
square
#CA91EC #EC9C91 #B3EC91 #91E1EC
split-complementary
#CA91EC #E1EC91 #91EC9C
monochromatic
#9829DA #B15DE3 #CA91EC #E3C5F5 #F2E5FA

Accessibility & contrast

On white

2.39
#CA91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CA91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91EC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91EC#FFFFFF#000000##000000
##CA91EC1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#C79EB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca91ec;
/* rgb */ color: rgb(202, 145, 236);
/* oklch */ color: oklch(74.5% 0.140 312.1);
Tailwind
colors: {
  custom: {
    50: '#dbb2f2',
    500: '#ca91ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca91ec;
$custom-light: #dbb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91ec",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 277.582,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74494,
    "c": 0.14007,
    "h": 312.1
  },
  "luminance": 0.38863
}

Semantic roles & 50–950 ramp

primary
#CA91EC
secondary
#E2F2D9
accent
#D3135B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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