#CA9EF8#CA9EF8

#CA9EF8 is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.3% C 0.133 H 306.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CA9EF8
RGBrgb(202, 158, 248)
HSLhsl(269, 87%, 80%)
HSVhsv(269, 36%, 97%)
CMYKcmyk(18.5%, 36.3%, 0%, 2.7%)
CIE-LABlab(72.09, 33.21, -38.85)
CIE-LCHlch(72.09, 51.11, 310.53°)
OKLaboklab(77.26% 0.078 -0.1075)
OKLCHoklch(77.26% 0.133 306)
XYZxyz(53.5239, 43.7879, 94.4209)
Luminance0.4379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EF8 #CCF89E
analogous
#9E9FF8 #CA9EF8 #F79EF8
triadic
#CA9EF8 #F8CA9E #9EF8CA
tetradic
#CA9EF8 #F89E9F #CCF89E #9EF8F7
square
#CA9EF8 #F89E9F #CCF89E #9EF8F7
split-complementary
#CA9EF8 #F8F79E #9FF89E
monochromatic
#8C2CF0 #AB65F4 #CA9EF8 #E9D7FC #EFE2FD

Accessibility & contrast

On white

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

On black

9.76
#CA9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EF8
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EF8#FFFFFF#000000##000000
##CA9EF81.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAFFB
Deuteranopia (green-blind)
#94B1F5
Tritanopia (blue-blind)
#C3ACC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9ef8;
/* rgb */ color: rgb(202, 158, 248);
/* oklch */ color: oklch(77.3% 0.133 306.0);
Tailwind
colors: {
  custom: {
    50: '#dbbbfb',
    500: '#ca9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ef8;
$custom-light: #dbbbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ef8",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 269.333,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77259,
    "c": 0.13283,
    "h": 306
  },
  "luminance": 0.43788
}

Semantic roles & 50–950 ramp

primary
#CA9EF8
secondary
#E6F5D6
accent
#E30275
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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