#CA9EFD#CA9EFD

#CA9EFD is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.5% C 0.139 H 304.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CA9EFD
RGBrgb(202, 158, 253)
HSLhsl(268, 96%, 81%)
HSVhsv(268, 38%, 99%)
CMYKcmyk(20.2%, 37.5%, 0%, 0.8%)
CIE-LABlab(72.30, 34.32, -41.23)
CIE-LCHlch(72.30, 53.65, 309.77°)
OKLaboklab(77.49% 0.0791 -0.1143)
OKLCHoklch(77.49% 0.139 304.7)
XYZxyz(54.3100, 44.1023, 98.5609)
Luminance0.4410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EFD #D1FD9E
analogous
#9EA1FD #CA9EFD #F99EFD
triadic
#CA9EFD #FDCA9E #9EFDCA
tetradic
#CA9EFD #FD9EA1 #D1FD9E #9EFDF9
square
#CA9EFD #FD9EA1 #D1FD9E #9EFDF9
split-complementary
#CA9EFD #FDF99E #A1FD9E
monochromatic
#8826FB #A962FC #CA9EFD #EBDAFE #EFE1FE

Accessibility & contrast

On white

2.14
#CA9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#CA9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EFD
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EFD#FFFFFF#000000##000000
##CA9EFD1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#C2ADC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9efd;
/* rgb */ color: rgb(202, 158, 253);
/* oklch */ color: oklch(77.5% 0.139 304.7);
Tailwind
colors: {
  custom: {
    50: '#dbbbfe',
    500: '#ca9efd',
    950: '#000000',
  },
}
SCSS
$custom: #ca9efd;
$custom-light: #dbbbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9efd",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 267.789,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77488,
    "c": 0.13903,
    "h": 304.7
  },
  "luminance": 0.44102
}

Semantic roles & 50–950 ramp

primary
#CA9EFD
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CA9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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