#CA9BFC#CA9BFC

#CA9BFC is a light, vivid violet. Relative luminance 0.430; OKLCH L 76.9% C 0.143 H 305.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CA9BFC
RGBrgb(202, 155, 252)
HSLhsl(269, 94%, 80%)
HSVhsv(269, 38%, 99%)
CMYKcmyk(19.8%, 38.5%, 0%, 1.2%)
CIE-LABlab(71.57, 35.73, -41.82)
CIE-LCHlch(71.57, 55.01, 310.51°)
OKLaboklab(76.93% 0.083 -0.116)
OKLCHoklch(76.93% 0.143 305.6)
XYZxyz(53.6456, 43.0278, 97.5557)
Luminance0.4303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BFC #CDFC9B
analogous
#9B9DFC #CA9BFC #FA9BFC
triadic
#CA9BFC #FCCA9B #9BFCCA
tetradic
#CA9BFC #FC9B9D #CDFC9B #9BFCFA
square
#CA9BFC #FC9B9D #CDFC9B #9BFCFA
split-complementary
#CA9BFC #FCFA9B #9DFC9B
monochromatic
#8B24F8 #AB60FA #CA9BFC #E9D6FE #EFE1FE

Accessibility & contrast

On white

2.19
#CA9BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#CA9BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BFC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BFC#FFFFFF#000000##000000
##CA9BFC1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#C2AAC0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9bfc;
/* rgb */ color: rgb(202, 155, 252);
/* oklch */ color: oklch(76.9% 0.143 305.6);
Tailwind
colors: {
  custom: {
    50: '#dbb9fd',
    500: '#ca9bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bfc;
$custom-light: #dbb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bfc",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 269.072,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76926,
    "c": 0.14268,
    "h": 305.6
  },
  "luminance": 0.43028
}

Semantic roles & 50–950 ramp

primary
#CA9BFC
secondary
#E6F6D5
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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