#CA9FEE#CA9FEE

#CA9FEE is a light, moderate violet. Relative luminance 0.435; OKLCH L 77.0% C 0.119 H 308.7°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CA9FEE
RGBrgb(202, 159, 238)
HSLhsl(273, 70%, 78%)
HSVhsv(273, 33%, 93%)
CMYKcmyk(15.1%, 33.2%, 0%, 6.7%)
CIE-LABlab(71.91, 30.50, -33.68)
CIE-LCHlch(71.91, 45.44, 312.16°)
OKLaboklab(76.99% 0.0743 -0.0927)
OKLCHoklch(76.99% 0.119 308.7)
XYZxyz(52.1850, 43.5264, 86.5246)
Luminance0.4353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FEE #C3EE9F
analogous
#A29FEE #CA9FEE #EE9FEB
triadic
#CA9FEE #EECA9F #9FEECA
tetradic
#CA9FEE #EEA29F #C3EE9F #9FEBEE
square
#CA9FEE #EEA29F #C3EE9F #9FEBEE
split-complementary
#CA9FEE #EBEE9F #9FEEA2
monochromatic
#9137DC #AD6BE5 #CA9FEE #E7D3F7 #F1E5FA

Accessibility & contrast

On white

2.16
#CA9FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CA9FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FEE
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FEE#FFFFFF#000000##000000
##CA9FEE1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#C6AABC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9fee;
/* rgb */ color: rgb(202, 159, 238);
/* oklch */ color: oklch(77.0% 0.119 308.7);
Tailwind
colors: {
  custom: {
    50: '#dbbbf3',
    500: '#ca9fee',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fee;
$custom-light: #dbbbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fee",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 272.658,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76992,
    "c": 0.11881,
    "h": 308.7
  },
  "luminance": 0.43526
}

Semantic roles & 50–950 ramp

primary
#CA9FEE
secondary
#E4F2D9
accent
#D2146A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CA9FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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