#AB5FED#AB5FED

#AB5FED is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.6% C 0.209 H 306.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AB5FED
RGBrgb(171, 95, 237)
HSLhsl(272, 80%, 65%)
HSVhsv(272, 60%, 93%)
CMYKcmyk(27.8%, 59.9%, 0%, 7.1%)
CIE-LABlab(55.03, 56.17, -59.96)
CIE-LCHlch(55.03, 82.17, 313.13°)
OKLaboklab(63.64% 0.1229 -0.1694)
OKLCHoklch(63.64% 0.209 306)
XYZxyz(36.1696, 22.9571, 82.6300)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FED #A1ED5F
analogous
#645FED #AB5FED #ED5FE8
triadic
#AB5FED #EDAB5F #5FEDAB
tetradic
#AB5FED #ED645F #A1ED5F #5FE8ED
square
#AB5FED #ED645F #A1ED5F #5FE8ED
split-complementary
#AB5FED #E8ED5F #5FED64
monochromatic
#6F15BC #8E28E7 #AB5FED #C896F3 #E5CDF9

Accessibility & contrast

On white

3.76
#AB5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AB5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FED
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FED#FFFFFF#000000##000000
##AB5FED1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1881F2
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#A07B9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5fed;
/* rgb */ color: rgb(171, 95, 237);
/* oklch */ color: oklch(63.6% 0.209 306.0);
Tailwind
colors: {
  custom: {
    50: '#c890f3',
    500: '#ab5fed',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fed;
$custom-light: #c890f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fed",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 272.113,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.20934,
    "h": 306
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#AB5FED
secondary
#D2ECBC
accent
#DC096B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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