#AB50DD#AB50DD

#AB50DD is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.213 H 311.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB50DD
RGBrgb(171, 80, 221)
HSLhsl(279, 67%, 59%)
HSVhsv(279, 64%, 87%)
CMYKcmyk(22.6%, 63.8%, 0%, 13.3%)
CIE-LABlab(51.40, 59.88, -56.78)
CIE-LCHlch(51.40, 82.52, 316.52°)
OKLaboklab(60.7% 0.141 -0.16)
OKLCHoklch(60.7% 0.213 311.4)
XYZxyz(32.7120, 19.6165, 70.4557)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50DD #82DD50
analogous
#6550DD #AB50DD #DD50C9
triadic
#AB50DD #DDAB50 #50DDAB
tetradic
#AB50DD #DD6550 #82DD50 #50C9DD
square
#AB50DD #DD6550 #82DD50 #50C9DD
split-complementary
#AB50DD #C9DD50 #50DD65
monochromatic
#6B1D96 #8F27C9 #AB50DD #C483E7 #DCB6F1

Accessibility & contrast

On white

4.27
#AB50DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AB50DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50DD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50DD#FFFFFF#000000##000000
##AB50DD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#427CDA
Tritanopia (blue-blind)
#A56C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab50dd;
/* rgb */ color: rgb(171, 80, 221);
/* oklch */ color: oklch(60.7% 0.213 311.4);
Tailwind
colors: {
  custom: {
    50: '#c887e8',
    500: '#ab50dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab50dd;
$custom-light: #c887e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50dd",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 278.723,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.21327,
    "h": 311.4
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#AB50DD
secondary
#BCE0A9
accent
#EA3D7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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