#CA9FFB#CA9FFB

#CA9FFB is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.6% C 0.135 H 304.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CA9FFB
RGBrgb(202, 159, 251)
HSLhsl(268, 92%, 80%)
HSVhsv(268, 37%, 98%)
CMYKcmyk(19.5%, 36.7%, 0%, 1.6%)
CIE-LABlab(72.44, 33.33, -39.92)
CIE-LCHlch(72.44, 52.01, 309.85°)
OKLaboklab(77.57% 0.0773 -0.1106)
OKLCHoklch(77.57% 0.135 304.9)
XYZxyz(54.1643, 44.3181, 96.9489)
Luminance0.4432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FFB #D0FB9F
analogous
#9FA2FB #CA9FFB #F89FFB
triadic
#CA9FFB #FBCA9F #9FFBCA
tetradic
#CA9FFB #FB9FA2 #D0FB9F #9FFBF8
square
#CA9FFB #FB9FA2 #D0FB9F #9FFBF8
split-complementary
#CA9FFB #FBF89F #A2FB9F
monochromatic
#8929F6 #AA64F9 #CA9FFB #EADAFD #EFE2FE

Accessibility & contrast

On white

2.13
#CA9FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#CA9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FFB
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FFB#FFFFFF#000000##000000
##CA9FFB1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#C2ADC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ca9ffb;
/* rgb */ color: rgb(202, 159, 251);
/* oklch */ color: oklch(77.6% 0.135 304.9);
Tailwind
colors: {
  custom: {
    50: '#dbbcfd',
    500: '#ca9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ffb;
$custom-light: #dbbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ffb",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 268.043,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77569,
    "c": 0.13491,
    "h": 304.9
  },
  "luminance": 0.44318
}

Semantic roles & 50–950 ramp

primary
#CA9FFB
secondary
#E7F6D5
accent
#E6007A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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