#CA9EFB#CA9EFB

#CA9EFB is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.4% C 0.137 H 305.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CA9EFB
RGBrgb(202, 158, 251)
HSLhsl(268, 92%, 80%)
HSVhsv(268, 37%, 98%)
CMYKcmyk(19.5%, 37.1%, 0%, 1.6%)
CIE-LABlab(72.21, 33.87, -40.28)
CIE-LCHlch(72.21, 52.63, 310.06°)
OKLaboklab(77.4% 0.0787 -0.1116)
OKLCHoklch(77.4% 0.137 305.2)
XYZxyz(53.9931, 43.9756, 96.8918)
Luminance0.4397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EFB #CFFB9E
analogous
#9EA0FB #CA9EFB #F89EFB
triadic
#CA9EFB #FBCA9E #9EFBCA
tetradic
#CA9EFB #FB9EA0 #CFFB9E #9EFBF8
square
#CA9EFB #FB9EA0 #CFFB9E #9EFBF8
split-complementary
#CA9EFB #FBF89E #A0FB9E
monochromatic
#8A28F6 #AA63F9 #CA9EFB #EAD9FD #EFE2FE

Accessibility & contrast

On white

2.14
#CA9EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CA9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EFB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EFB#FFFFFF#000000##000000
##CA9EFB1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#C3ACC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9efb;
/* rgb */ color: rgb(202, 158, 251);
/* oklch */ color: oklch(77.4% 0.137 305.2);
Tailwind
colors: {
  custom: {
    50: '#dbbbfd',
    500: '#ca9efb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9efb;
$custom-light: #dbbbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9efb",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 268.387,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77396,
    "c": 0.13655,
    "h": 305.2
  },
  "luminance": 0.43975
}

Semantic roles & 50–950 ramp

primary
#CA9EFB
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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