#CA9EFA#CA9EFA

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

Color values

HEX#CA9EFA
RGBrgb(202, 158, 250)
HSLhsl(269, 90%, 80%)
HSVhsv(269, 37%, 98%)
CMYKcmyk(19.2%, 36.8%, 0%, 2%)
CIE-LABlab(72.17, 33.65, -39.80)
CIE-LCHlch(72.17, 52.12, 310.21°)
OKLaboklab(77.35% 0.0785 -0.1102)
OKLCHoklch(77.35% 0.135 305.4)
XYZxyz(53.8358, 43.9127, 96.0638)
Luminance0.4391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EFA #CEFA9E
analogous
#9EA0FA #CA9EFA #F89EFA
triadic
#CA9EFA #FACA9E #9EFACA
tetradic
#CA9EFA #FA9EA0 #CEFA9E #9EFAF8
square
#CA9EFA #FA9EA0 #CEFA9E #9EFAF8
split-complementary
#CA9EFA #FAF89E #A0FA9E
monochromatic
#8A2AF4 #AA64F7 #CA9EFA #EAD8FD #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA9EFA#FFFFFF#000000##000000
##CA9EFA1.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)
#8AAFFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#C3ACC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9efa;
/* rgb */ color: rgb(202, 158, 250);
/* oklch */ color: oklch(77.3% 0.135 305.4);
Tailwind
colors: {
  custom: {
    50: '#dbbbfc',
    500: '#ca9efa',
    950: '#000000',
  },
}
SCSS
$custom: #ca9efa;
$custom-light: #dbbbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9efa",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 268.696,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.7735,
    "c": 0.1353,
    "h": 305.4
  },
  "luminance": 0.43912
}

Semantic roles & 50–950 ramp

primary
#CA9EFA
secondary
#E6F6D5
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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