#CA9FFC#CA9FFC

#CA9FFC is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.6% C 0.136 H 304.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CA9FFC
RGBrgb(202, 159, 252)
HSLhsl(268, 94%, 81%)
HSVhsv(268, 37%, 99%)
CMYKcmyk(19.8%, 36.9%, 0%, 1.2%)
CIE-LABlab(72.48, 33.55, -40.40)
CIE-LCHlch(72.48, 52.51, 309.70°)
OKLaboklab(77.61% 0.0775 -0.112)
OKLCHoklch(77.61% 0.136 304.7)
XYZxyz(54.3224, 44.3813, 97.7812)
Luminance0.4438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FFC #D1FC9F
analogous
#9FA2FC #CA9FFC #F89FFC
triadic
#CA9FFC #FCCA9F #9FFCCA
tetradic
#CA9FFC #FC9FA2 #D1FC9F #9FFCF8
square
#CA9FFC #FC9FA2 #D1FC9F #9FFCF8
split-complementary
#CA9FFC #FCF89F #A2FC9F
monochromatic
#8828F8 #A964FA #CA9FFC #EBDAFE #EFE1FE

Accessibility & contrast

On white

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

On black

9.88
#CA9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FFC
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FFC#FFFFFF#000000##000000
##CA9FFC1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#93B2F9
Tritanopia (blue-blind)
#C2ADC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ca9ffc;
/* rgb */ color: rgb(202, 159, 252);
/* oklch */ color: oklch(77.6% 0.136 304.7);
Tailwind
colors: {
  custom: {
    50: '#dbbcfd',
    500: '#ca9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ffc;
$custom-light: #dbbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ffc",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 267.742,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77615,
    "c": 0.13616,
    "h": 304.7
  },
  "luminance": 0.44381
}

Semantic roles & 50–950 ramp

primary
#CA9FFC
secondary
#E7F6D5
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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