#CA9FEB#CA9FEB

#CA9FEB is a light, moderate violet. Relative luminance 0.434; OKLCH L 76.9% C 0.115 H 309.7°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#CA9FEB
RGBrgb(202, 159, 235)
HSLhsl(274, 66%, 77%)
HSVhsv(274, 32%, 92%)
CMYKcmyk(14%, 32.3%, 0%, 7.8%)
CIE-LABlab(71.79, 29.86, -32.22)
CIE-LCHlch(71.79, 43.93, 312.82°)
OKLaboklab(76.86% 0.0736 -0.0886)
OKLCHoklch(76.86% 0.115 309.7)
XYZxyz(51.7480, 43.3516, 84.2227)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FEB #C0EB9F
analogous
#A49FEB #CA9FEB #EB9FE6
triadic
#CA9FEB #EBCA9F #9FEBCA
tetradic
#CA9FEB #EBA49F #C0EB9F #9FE6EB
square
#CA9FEB #EBA49F #C0EB9F #9FE6EB
split-complementary
#CA9FEB #E6EB9F #9FEBA4
monochromatic
#923AD6 #AE6CE0 #CA9FEB #E6D2F6 #F1E6FA

Accessibility & contrast

On white

2.17
#CA9FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#CA9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FEB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FEB#FFFFFF#000000##000000
##CA9FEB1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#C6A9BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9feb;
/* rgb */ color: rgb(202, 159, 235);
/* oklch */ color: oklch(76.9% 0.115 309.7);
Tailwind
colors: {
  custom: {
    50: '#dbbbf1',
    500: '#ca9feb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9feb;
$custom-light: #dbbbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9feb",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 273.947,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76864,
    "c": 0.11513,
    "h": 309.7
  },
  "luminance": 0.43351
}

Semantic roles & 50–950 ramp

primary
#CA9FEB
secondary
#E4F1DA
accent
#CD1867
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CA9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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