#CA9EF4#CA9EF4

#CA9EF4 is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.128 H 307.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CA9EF4
RGBrgb(202, 158, 244)
HSLhsl(271, 80%, 79%)
HSVhsv(271, 35%, 96%)
CMYKcmyk(17.2%, 35.2%, 0%, 4.3%)
CIE-LABlab(71.92, 32.34, -36.93)
CIE-LCHlch(71.92, 49.09, 311.21°)
OKLaboklab(77.08% 0.0771 -0.102)
OKLCHoklch(77.08% 0.128 307.1)
XYZxyz(52.9100, 43.5423, 91.1876)
Luminance0.4354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EF4 #C8F49E
analogous
#9F9EF4 #CA9EF4 #F49EF3
triadic
#CA9EF4 #F4CA9E #9EF4CA
tetradic
#CA9EF4 #F49F9E #C8F49E #9EF3F4
square
#CA9EF4 #F49F9E #C8F49E #9EF3F4
split-complementary
#CA9EF4 #F3F49E #9EF49F
monochromatic
#8E30E8 #AC67EE #CA9EF4 #E8D5FA #F0E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA9EF4#FFFFFF#000000##000000
##CA9EF41.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)
#8DAFF7
Deuteranopia (green-blind)
#96B1F2
Tritanopia (blue-blind)
#C4ABBE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9ef4;
/* rgb */ color: rgb(202, 158, 244);
/* oklch */ color: oklch(77.1% 0.128 307.1);
Tailwind
colors: {
  custom: {
    50: '#dbbbf8',
    500: '#ca9ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ef4;
$custom-light: #dbbbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ef4",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 244
  },
  "hsl": {
    "h": 270.698,
    "s": 79.63,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7708,
    "c": 0.12788,
    "h": 307.1
  },
  "luminance": 0.43542
}

Semantic roles & 50–950 ramp

primary
#CA9EF4
secondary
#E5F4D7
accent
#DC0A70
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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