#CA9BFA#CA9BFA

#CA9BFA is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.8% C 0.140 H 306.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#CA9BFA
RGBrgb(202, 155, 250)
HSLhsl(270, 90%, 79%)
HSVhsv(270, 38%, 98%)
CMYKcmyk(19.2%, 38%, 0%, 2%)
CIE-LABlab(71.49, 35.29, -40.87)
CIE-LCHlch(71.49, 54.00, 310.81°)
OKLaboklab(76.83% 0.0826 -0.1133)
OKLCHoklch(76.83% 0.14 306.1)
XYZxyz(53.3304, 42.9017, 95.8953)
Luminance0.4290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BFA #CBFA9B
analogous
#9B9CFA #CA9BFA #F99BFA
triadic
#CA9BFA #FACA9B #9BFACA
tetradic
#CA9BFA #FA9B9C #CBFA9B #9BFAF9
square
#CA9BFA #FA9B9C #CBFA9B #9BFAF9
split-complementary
#CA9BFA #FAF99B #9CFA9B
monochromatic
#8C26F4 #AB61F7 #CA9BFA #E9D5FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.58
#CA9BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BFA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BFA#FFFFFF#000000##000000
##CA9BFA1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#91AFF7
Tritanopia (blue-blind)
#C3AABF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9bfa;
/* rgb */ color: rgb(202, 155, 250);
/* oklch */ color: oklch(76.8% 0.140 306.1);
Tailwind
colors: {
  custom: {
    50: '#dbb9fc',
    500: '#ca9bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca9bfa;
$custom-light: #dbb9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9bfa",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 269.684,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.14022,
    "h": 306.1
  },
  "luminance": 0.42901
}

Semantic roles & 50–950 ramp

primary
#CA9BFA
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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