#C5A4E3#C5A4E3

#C5A4E3 is a light, moderate violet. Relative luminance 0.440; OKLCH L 77.0% C 0.095 H 308.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C5A4E3
RGBrgb(197, 164, 227)
HSLhsl(271, 53%, 77%)
HSVhsv(271, 28%, 89%)
CMYKcmyk(13.2%, 27.8%, 0%, 11%)
CIE-LABlab(72.21, 23.87, -27.26)
CIE-LCHlch(72.21, 36.23, 311.21°)
OKLaboklab(76.97% 0.0586 -0.0746)
OKLCHoklch(76.97% 0.095 308.1)
XYZxyz(50.1640, 43.9677, 78.5021)
Luminance0.4397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A4E3 #C2E3A4
analogous
#A6A4E3 #C5A4E3 #E3A4E1
triadic
#C5A4E3 #E3C5A4 #A4E3C5
tetradic
#C5A4E3 #E3A6A4 #C2E3A4 #A4E1E3
square
#C5A4E3 #E3A6A4 #C2E3A4 #A4E1E3
split-complementary
#C5A4E3 #E1E3A4 #A4E3A6
monochromatic
#8946C6 #A775D5 #C5A4E3 #E3D3F1 #F0E8F8

Accessibility & contrast

On white

2.14
#C5A4E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C5A4E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A4E3
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A4E3#FFFFFF#000000##000000
##C5A4E31.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B0E6
Deuteranopia (green-blind)
#A0B2E1
Tritanopia (blue-blind)
#C1ACBA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5a4e3;
/* rgb */ color: rgb(197, 164, 227);
/* oklch */ color: oklch(77.0% 0.095 308.1);
Tailwind
colors: {
  custom: {
    50: '#d7bfec',
    500: '#c5a4e3',
    950: '#000000',
  },
}
SCSS
$custom: #c5a4e3;
$custom-light: #d7bfec;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a4e3",
  "rgb": {
    "r": 197,
    "g": 164,
    "b": 227
  },
  "hsl": {
    "h": 271.429,
    "s": 52.941,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76972,
    "c": 0.09481,
    "h": 308.1
  },
  "luminance": 0.43967
}

Semantic roles & 50–950 ramp

primary
#C5A4E3
secondary
#E5EFDC
accent
#C0256F
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C5A4E3

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

Preview Lab → · Contrast checker → · Palette generator →

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