#CA9FFE#CA9FFE

#CA9FFE is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.7% C 0.139 H 304.2°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CA9FFE
RGBrgb(202, 159, 254)
HSLhsl(267, 98%, 81%)
HSVhsv(267, 37%, 100%)
CMYKcmyk(20.5%, 37.4%, 0%, 0.4%)
CIE-LABlab(72.57, 33.99, -41.35)
CIE-LCHlch(72.57, 53.53, 309.42°)
OKLaboklab(77.71% 0.0779 -0.1147)
OKLCHoklch(77.71% 0.139 304.2)
XYZxyz(54.6410, 44.5088, 99.4592)
Luminance0.4451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FFE #D3FE9F
analogous
#9FA3FE #CA9FFE #F99FFE
triadic
#CA9FFE #FECA9F #9FFECA
tetradic
#CA9FFE #FE9FA3 #D3FE9F #9FFEF9
square
#CA9FFE #FE9FA3 #D3FE9F #9FFEF9
split-complementary
#CA9FFE #FEF99F #A3FE9F
monochromatic
#8726FD #A962FD #CA9FFE #EBDCFF #EEE1FF

Accessibility & contrast

On white

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

On black

9.90
#CA9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FFE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FFE#FFFFFF#000000##000000
##CA9FFE1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca9ffe;
/* rgb */ color: rgb(202, 159, 254);
/* oklch */ color: oklch(77.7% 0.139 304.2);
Tailwind
colors: {
  custom: {
    50: '#dbbcff',
    500: '#ca9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ffe;
$custom-light: #dbbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ffe",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 267.158,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77707,
    "c": 0.13865,
    "h": 304.2
  },
  "luminance": 0.44509
}

Semantic roles & 50–950 ramp

primary
#CA9FFE
secondary
#E7F7D4
accent
#E6007E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CA9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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