#CA9FF4#CA9FF4

#CA9FF4 is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.3% C 0.126 H 306.9°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CA9FF4
RGBrgb(202, 159, 244)
HSLhsl(270, 79%, 79%)
HSVhsv(270, 35%, 96%)
CMYKcmyk(17.2%, 34.8%, 0%, 4.3%)
CIE-LABlab(72.15, 31.79, -36.57)
CIE-LCHlch(72.15, 48.46, 311.00°)
OKLaboklab(77.26% 0.0757 -0.101)
OKLCHoklch(77.26% 0.126 306.9)
XYZxyz(53.0812, 43.8849, 91.2447)
Luminance0.4388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FF4 #C9F49F
analogous
#A09FF4 #CA9FF4 #F49FF3
triadic
#CA9FF4 #F4CA9F #9FF4CA
tetradic
#CA9FF4 #F4A09F #C9F49F #9FF3F4
square
#CA9FF4 #F4A09F #C9F49F #9FF3F4
split-complementary
#CA9FF4 #F3F49F #9FF4A0
monochromatic
#8D31E7 #AC68EE #CA9FF4 #E8D6FA #F0E4FC

Accessibility & contrast

On white

2.15
#CA9FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CA9FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FF4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FF4#FFFFFF#000000##000000
##CA9FF41.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF7
Deuteranopia (green-blind)
#97B1F2
Tritanopia (blue-blind)
#C4ACBE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9ff4;
/* rgb */ color: rgb(202, 159, 244);
/* oklch */ color: oklch(77.3% 0.126 306.9);
Tailwind
colors: {
  custom: {
    50: '#dbbcf8',
    500: '#ca9ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ff4;
$custom-light: #dbbcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ff4",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 244
  },
  "hsl": {
    "h": 270.353,
    "s": 79.439,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77255,
    "c": 0.12621,
    "h": 306.9
  },
  "luminance": 0.43884
}

Semantic roles & 50–950 ramp

primary
#CA9FF4
secondary
#E5F4D7
accent
#DC0A72
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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