#C5ABEB#C5ABEB

#C5ABEB is a light, moderate violet. Relative luminance 0.470; OKLCH L 78.6% C 0.093 H 302.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C5ABEB
RGBrgb(197, 171, 235)
HSLhsl(264, 62%, 80%)
HSVhsv(264, 27%, 92%)
CMYKcmyk(16.2%, 27.2%, 0%, 7.8%)
CIE-LABlab(74.19, 21.72, -28.58)
CIE-LCHlch(74.19, 35.90, 307.24°)
OKLaboklab(78.59% 0.0507 -0.0783)
OKLCHoklch(78.59% 0.093 302.9)
XYZxyz(52.5812, 46.9943, 84.8819)
Luminance0.4699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5ABEB #D1EBAB
analogous
#ABB1EB #C5ABEB #E5ABEB
triadic
#C5ABEB #EBC5AB #ABEBC5
tetradic
#C5ABEB #EBABB1 #D1EBAB #ABEBE5
square
#C5ABEB #EBABB1 #D1EBAB #ABEBE5
split-complementary
#C5ABEB #EBE5AB #B1EBAB
monochromatic
#8148D3 #A37ADF #C5ABEB #E7DCF7 #EEE6F9

Accessibility & contrast

On white

2.02
#C5ABEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#C5ABEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5ABEB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5ABEB#FFFFFF#000000##000000
##C5ABEB1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6EE
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#BFB4C2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5abeb;
/* rgb */ color: rgb(197, 171, 235);
/* oklch */ color: oklch(78.6% 0.093 302.9);
Tailwind
colors: {
  custom: {
    50: '#d7c4f1',
    500: '#c5abeb',
    950: '#000000',
  },
}
SCSS
$custom: #c5abeb;
$custom-light: #d7c4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5abeb",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 235
  },
  "hsl": {
    "h": 264.375,
    "s": 61.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78589,
    "c": 0.09332,
    "h": 302.9
  },
  "luminance": 0.46994
}

Semantic roles & 50–950 ramp

primary
#C5ABEB
secondary
#E8F0DB
accent
#C91C83
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141216
muted
#838184

Preview Lab

Preview with #C5ABEB

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

Preview Lab → · Contrast checker → · Palette generator →

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