#C5A2EA#C5A2EA

#C5A2EA is a light, moderate violet. Relative luminance 0.437; OKLCH L 76.9% C 0.107 H 306.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C5A2EA
RGBrgb(197, 162, 234)
HSLhsl(269, 63%, 78%)
HSVhsv(269, 31%, 92%)
CMYKcmyk(15.8%, 30.8%, 0%, 8.2%)
CIE-LABlab(72.00, 26.47, -31.40)
CIE-LCHlch(72.00, 41.07, 310.12°)
OKLaboklab(76.9% 0.0633 -0.0863)
OKLCHoklch(76.9% 0.107 306.3)
XYZxyz(50.7947, 43.6518, 83.5756)
Luminance0.4365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A2EA #C7EAA2
analogous
#A2A3EA #C5A2EA #E9A2EA
triadic
#C5A2EA #EAC5A2 #A2EAC5
tetradic
#C5A2EA #EAA2A3 #C7EAA2 #A2EAE9
square
#C5A2EA #EAA2A3 #C7EAA2 #A2EAE9
split-complementary
#C5A2EA #EAE9A2 #A3EAA2
monochromatic
#873ED3 #A670DF #C5A2EA #E4D4F5 #EFE6F9

Accessibility & contrast

On white

2.16
#C5A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C5A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A2EA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A2EA#FFFFFF#000000##000000
##C5A2EA1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#9BB1E8
Tritanopia (blue-blind)
#C0ACBC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5a2ea;
/* rgb */ color: rgb(197, 162, 234);
/* oklch */ color: oklch(76.9% 0.107 306.3);
Tailwind
colors: {
  custom: {
    50: '#d7bdf1',
    500: '#c5a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #c5a2ea;
$custom-light: #d7bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a2ea",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 269.167,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76897,
    "c": 0.10705,
    "h": 306.3
  },
  "luminance": 0.43651
}

Semantic roles & 50–950 ramp

primary
#C5A2EA
secondary
#E6F1DA
accent
#CB1B75
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C5A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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