#CA9BE7#CA9BE7

#CA9BE7 is a light, moderate violet. Relative luminance 0.418; OKLCH L 76.0% C 0.117 H 312.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CA9BE7
RGBrgb(202, 155, 231)
HSLhsl(277, 61%, 76%)
HSVhsv(277, 33%, 91%)
CMYKcmyk(12.6%, 32.9%, 0%, 9.4%)
CIE-LABlab(70.71, 31.21, -31.71)
CIE-LCHlch(70.71, 44.49, 314.55°)
OKLaboklab(75.99% 0.0784 -0.0871)
OKLCHoklch(75.99% 0.117 312)
XYZxyz(50.4998, 41.7695, 80.9878)
Luminance0.4177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9BE7 #B8E79B
analogous
#A49BE7 #CA9BE7 #E79BDE
triadic
#CA9BE7 #E7CA9B #9BE7CA
tetradic
#CA9BE7 #E7A49B #B8E79B #9BDEE7
square
#CA9BE7 #E7A49B #B8E79B #9BDEE7
split-complementary
#CA9BE7 #DEE79B #9BE7A4
monochromatic
#9638CF #B06ADB #CA9BE7 #E4CCF3 #F2E6F9

Accessibility & contrast

On white

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

On black

9.35
#CA9BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9BE7
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9BE7#FFFFFF#000000##000000
##CA9BE71.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABEA
Deuteranopia (green-blind)
#99AEE5
Tritanopia (blue-blind)
#C7A5B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9be7;
/* rgb */ color: rgb(202, 155, 231);
/* oklch */ color: oklch(76.0% 0.117 312.0);
Tailwind
colors: {
  custom: {
    50: '#dbb9ef',
    500: '#ca9be7',
    950: '#000000',
  },
}
SCSS
$custom: #ca9be7;
$custom-light: #dbb9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9be7",
  "rgb": {
    "r": 202,
    "g": 155,
    "b": 231
  },
  "hsl": {
    "h": 277.105,
    "s": 61.29,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.11713,
    "h": 312
  },
  "luminance": 0.41769
}

Semantic roles & 50–950 ramp

primary
#CA9BE7
secondary
#E3F0DB
accent
#C91D5E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA9BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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