#C5ABFA#C5ABFA

#C5ABFA is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.2% C 0.113 H 298.9°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#C5ABFA
RGBrgb(197, 171, 250)
HSLhsl(260, 89%, 83%)
HSVhsv(260, 32%, 98%)
CMYKcmyk(21.2%, 31.6%, 0%, 2%)
CIE-LABlab(74.76, 25.04, -35.81)
CIE-LCHlch(74.76, 43.70, 304.96°)
OKLaboklab(79.22% 0.0547 -0.0989)
OKLCHoklch(79.22% 0.113 298.9)
XYZxyz(54.8404, 47.8980, 96.7800)
Luminance0.4790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5ABFA #E0FAAB
analogous
#ABB8FA #C5ABFA #EDABFA
triadic
#C5ABFA #FAC5AB #ABFAC5
tetradic
#C5ABFA #FAABB8 #E0FAAB #ABFAED
square
#C5ABFA #FAABB8 #E0FAAB #ABFAED
split-complementary
#C5ABFA #FAEDAB #B8FAAB
monochromatic
#7537F3 #9D71F7 #C5ABFA #EBE2FD #EBE2FD

Accessibility & contrast

On white

1.98
#C5ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#C5ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5ABFA
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5ABFA#FFFFFF#000000##000000
##C5ABFA1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FD
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#BBB7C8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5abfa;
/* rgb */ color: rgb(197, 171, 250);
/* oklch */ color: oklch(79.2% 0.113 298.9);
Tailwind
colors: {
  custom: {
    50: '#d7c4fc',
    500: '#c5abfa',
    950: '#000000',
  },
}
SCSS
$custom: #c5abfa;
$custom-light: #d7c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c5abfa",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 259.747,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.7922,
    "c": 0.11304,
    "h": 298.9
  },
  "luminance": 0.47898
}

Semantic roles & 50–950 ramp

primary
#C5ABFA
secondary
#EBF5D6
accent
#E5009A
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141217
muted
#838185

Preview Lab

Preview with #C5ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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