#CA9FFF#CA9FFF

#CA9FFF is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.8% C 0.140 H 303.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CA9FFF
RGBrgb(202, 159, 255)
HSLhsl(267, 100%, 81%)
HSVhsv(267, 38%, 100%)
CMYKcmyk(20.8%, 37.6%, 0%, 0%)
CIE-LABlab(72.61, 34.22, -41.83)
CIE-LCHlch(72.61, 54.04, 309.28°)
OKLaboklab(77.75% 0.0781 -0.1161)
OKLCHoklch(77.75% 0.14 303.9)
XYZxyz(54.8015, 44.5730, 100.3047)
Luminance0.4457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FFF #D4FF9F
analogous
#9FA4FF #CA9FFF #FA9FFF
triadic
#CA9FFF #FFCA9F #9FFFCA
tetradic
#CA9FFF #FF9FA4 #D4FF9F #9FFFFA
square
#CA9FFF #FF9FA4 #D4FF9F #9FFFFA
split-complementary
#CA9FFF #FFFA9F #A4FF9F
monochromatic
#8625FF #A862FF #CA9FFF #ECDCFF #EEE0FF

Accessibility & contrast

On white

2.12
#CA9FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CA9FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FFF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FFF#FFFFFF#000000##000000
##CA9FFF1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#92B2FC
Tritanopia (blue-blind)
#C1AEC3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ca9fff;
/* rgb */ color: rgb(202, 159, 255);
/* oklch */ color: oklch(77.8% 0.140 303.9);
Tailwind
colors: {
  custom: {
    50: '#dbbcff',
    500: '#ca9fff',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fff;
$custom-light: #dbbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fff",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 255
  },
  "hsl": {
    "h": 266.875,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77753,
    "c": 0.13989,
    "h": 303.9
  },
  "luminance": 0.44573
}

Semantic roles & 50–950 ramp

primary
#CA9FFF
secondary
#E7F7D4
accent
#E6007F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CA9FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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