#AB82CA#AB82CA

#AB82CA is a light, moderate violet. Relative luminance 0.289; OKLCH L 67.3% C 0.112 H 309.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AB82CA
RGBrgb(171, 130, 202)
HSLhsl(274, 40%, 65%)
HSVhsv(274, 36%, 79%)
CMYKcmyk(15.3%, 35.6%, 0%, 20.8%)
CIE-LABlab(60.68, 29.34, -31.37)
CIE-LCHlch(60.68, 42.95, 313.08°)
OKLaboklab(67.27% 0.0718 -0.0865)
OKLCHoklch(67.27% 0.112 309.7)
XYZxyz(35.4360, 28.8879, 59.5748)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB82CA #A1CA82
analogous
#8782CA #AB82CA #CA82C5
triadic
#AB82CA #CAAB82 #82CAAB
tetradic
#AB82CA #CA8782 #A1CA82 #82C5CA
square
#AB82CA #CA8782 #A1CA82 #82C5CA
split-complementary
#AB82CA #C5CA82 #82CA87
monochromatic
#6F3E93 #8E57B8 #AB82CA #C8ADDC #E5D8EE

Accessibility & contrast

On white

3.10
#AB82CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AB82CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB82CA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB82CA#FFFFFF#000000##000000
##AB82CA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#7E93C8
Tritanopia (blue-blind)
#A78C9D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab82ca;
/* rgb */ color: rgb(171, 130, 202);
/* oklch */ color: oklch(67.3% 0.112 309.7);
Tailwind
colors: {
  custom: {
    50: '#c5a7da',
    500: '#ab82ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab82ca;
$custom-light: #c5a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab82ca",
  "rgb": {
    "r": 171,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 274.167,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67274,
    "c": 0.11243,
    "h": 309.7
  },
  "luminance": 0.28887
}

Semantic roles & 50–950 ramp

primary
#AB82CA
secondary
#D2E0C8
accent
#B3326A
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB82CA

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

Preview Lab → · Contrast checker → · Palette generator →

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