#CA9EEB#CA9EEB

#CA9EEB is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.7% C 0.117 H 309.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CA9EEB
RGBrgb(202, 158, 235)
HSLhsl(274, 66%, 77%)
HSVhsv(274, 33%, 92%)
CMYKcmyk(14%, 32.8%, 0%, 7.8%)
CIE-LABlab(71.56, 30.41, -32.58)
CIE-LCHlch(71.56, 44.57, 313.02°)
OKLaboklab(76.69% 0.075 -0.0896)
OKLCHoklch(76.69% 0.117 309.9)
XYZxyz(51.5767, 43.0090, 84.1656)
Luminance0.4301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9EEB #BFEB9E
analogous
#A49EEB #CA9EEB #EB9EE5
triadic
#CA9EEB #EBCA9E #9EEBCA
tetradic
#CA9EEB #EBA49E #BFEB9E #9EE5EB
square
#CA9EEB #EBA49E #BFEB9E #9EE5EB
split-complementary
#CA9EEB #E5EB9E #9EEBA4
monochromatic
#9339D6 #AE6BE1 #CA9EEB #E6D1F5 #F1E6FA

Accessibility & contrast

On white

2.19
#CA9EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CA9EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9EEB
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9EEB#FFFFFF#000000##000000
##CA9EEB1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#9AB0E9
Tritanopia (blue-blind)
#C6A9BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9eeb;
/* rgb */ color: rgb(202, 158, 235);
/* oklch */ color: oklch(76.7% 0.117 309.9);
Tailwind
colors: {
  custom: {
    50: '#dbbbf1',
    500: '#ca9eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9eeb;
$custom-light: #dbbbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9eeb",
  "rgb": {
    "r": 202,
    "g": 158,
    "b": 235
  },
  "hsl": {
    "h": 274.286,
    "s": 65.812,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76687,
    "c": 0.11683,
    "h": 309.9
  },
  "luminance": 0.43008
}

Semantic roles & 50–950 ramp

primary
#CA9EEB
secondary
#E4F1DA
accent
#CE1866
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CA9EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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