#CA9BE6#CA9BE6

#CA9BE6 is a light, moderate violet. Relative luminance 0.417; OKLCH L 75.9% C 0.116 H 312.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CA9BE6
RGBrgb(202, 155, 230)
HSLhsl(278, 60%, 75%)
HSVhsv(278, 33%, 90%)
CMYKcmyk(12.2%, 32.6%, 0%, 9.8%)
CIE-LABlab(70.67, 31.00, -31.22)
CIE-LCHlch(70.67, 44.00, 314.80°)
OKLaboklab(75.95% 0.0781 -0.0857)
OKLCHoklch(75.95% 0.116 312.4)
XYZxyz(50.3590, 41.7132, 80.2461)
Luminance0.4171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BE6 #B7E69B
analogous
#A49BE6 #CA9BE6 #E69BDC
triadic
#CA9BE6 #E6CA9B #9BE6CA
tetradic
#CA9BE6 #E6A49B #B7E69B #9BDCE6
square
#CA9BE6 #E6A49B #B7E69B #9BDCE6
split-complementary
#CA9BE6 #DCE69B #9BE6A4
monochromatic
#9639CE #B06ADA #CA9BE6 #E4CCF2 #F2E7F9

Accessibility & contrast

On white

2.25
#CA9BE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#CA9BE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BE6
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BE6#FFFFFF#000000##000000
##CA9BE61.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAAE9
Deuteranopia (green-blind)
#99AEE4
Tritanopia (blue-blind)
#C8A5B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9be6;
/* rgb */ color: rgb(202, 155, 230);
/* oklch */ color: oklch(75.9% 0.116 312.4);
Tailwind
colors: {
  custom: {
    50: '#dbb9ee',
    500: '#ca9be6',
    950: '#000000',
  },
}
SCSS
$custom: #ca9be6;
$custom-light: #dbb9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9be6",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 230
  },
  "hsl": {
    "h": 277.6,
    "s": 60,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75946,
    "c": 0.11593,
    "h": 312.4
  },
  "luminance": 0.41712
}

Semantic roles & 50–950 ramp

primary
#CA9BE6
secondary
#E3F0DB
accent
#C81E5D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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