#AB50DE#AB50DE

#AB50DE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.214 H 311.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB50DE
RGBrgb(171, 80, 222)
HSLhsl(278, 68%, 59%)
HSVhsv(278, 64%, 87%)
CMYKcmyk(23%, 64%, 0%, 12.9%)
CIE-LABlab(51.46, 60.09, -57.25)
CIE-LCHlch(51.46, 82.99, 316.39°)
OKLaboklab(60.77% 0.1409 -0.1614)
OKLCHoklch(60.77% 0.214 311.1)
XYZxyz(32.8456, 19.6699, 71.1595)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50DE #83DE50
analogous
#6450DE #AB50DE #DE50CA
triadic
#AB50DE #DEAB50 #50DEAB
tetradic
#AB50DE #DE6450 #83DE50 #50CADE
square
#AB50DE #DE6450 #83DE50 #50CADE
split-complementary
#AB50DE #CADE50 #50DE64
monochromatic
#6B1C97 #9026CB #AB50DE #C483E8 #DCB7F1

Accessibility & contrast

On white

4.26
#AB50DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AB50DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50DE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50DE#FFFFFF#000000##000000
##AB50DE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#417CDB
Tritanopia (blue-blind)
#A56C90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab50de;
/* rgb */ color: rgb(171, 80, 222);
/* oklch */ color: oklch(60.8% 0.214 311.1);
Tailwind
colors: {
  custom: {
    50: '#c887e9',
    500: '#ab50de',
    950: '#000000',
  },
}
SCSS
$custom: #ab50de;
$custom-light: #c887e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50de",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 278.451,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.21426,
    "h": 311.1
  },
  "luminance": 0.19669
}

Semantic roles & 50–950 ramp

primary
#AB50DE
secondary
#BDE1A9
accent
#EB3D7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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