#CA9DEB#CA9DEB

#CA9DEB is a light, moderate violet. Relative luminance 0.427; OKLCH L 76.5% C 0.119 H 310.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CA9DEB
RGBrgb(202, 157, 235)
HSLhsl(275, 66%, 77%)
HSVhsv(275, 33%, 92%)
CMYKcmyk(14%, 33.2%, 0%, 7.8%)
CIE-LABlab(71.33, 30.96, -32.94)
CIE-LCHlch(71.33, 45.20, 313.22°)
OKLaboklab(76.51% 0.0765 -0.0906)
OKLCHoklch(76.51% 0.119 310.2)
XYZxyz(51.4068, 42.6693, 84.1090)
Luminance0.4267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DEB #BEEB9D
analogous
#A39DEB #CA9DEB #EB9DE5
triadic
#CA9DEB #EBCA9D #9DEBCA
tetradic
#CA9DEB #EBA39D #BEEB9D #9DE5EB
square
#CA9DEB #EBA39D #BEEB9D #9DE5EB
split-complementary
#CA9DEB #E5EB9D #9DEBA3
monochromatic
#9337D6 #AF6AE1 #CA9DEB #E5D0F5 #F1E6FA

Accessibility & contrast

On white

2.20
#CA9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CA9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DEB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DEB#FFFFFF#000000##000000
##CA9DEB1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEE
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#C6A8BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9deb;
/* rgb */ color: rgb(202, 157, 235);
/* oklch */ color: oklch(76.5% 0.119 310.2);
Tailwind
colors: {
  custom: {
    50: '#dbbaf1',
    500: '#ca9deb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9deb;
$custom-light: #dbbaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9deb",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 274.615,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76511,
    "c": 0.11853,
    "h": 310.2
  },
  "luminance": 0.42669
}

Semantic roles & 50–950 ramp

primary
#CA9DEB
secondary
#E4F1DA
accent
#CE1865
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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