#AB5EDF#AB5EDF

#AB5EDF is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.6% C 0.196 H 309.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB5EDF
RGBrgb(171, 94, 223)
HSLhsl(276, 67%, 62%)
HSVhsv(276, 58%, 87%)
CMYKcmyk(23.3%, 57.8%, 0%, 12.5%)
CIE-LABlab(54.02, 53.53, -53.72)
CIE-LCHlch(54.02, 75.84, 314.90°)
OKLaboklab(62.64% 0.1242 -0.1511)
OKLCHoklch(62.64% 0.196 309.4)
XYZxyz(34.1140, 21.9916, 72.2454)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EDF #92DF5E
analogous
#6B5EDF #AB5EDF #DF5ED2
triadic
#AB5EDF #DFAB5E #5EDFAB
tetradic
#AB5EDF #DF6B5E #92DF5E #5ED2DF
square
#AB5EDF #DF6B5E #92DF5E #5ED2DF
split-complementary
#AB5EDF #D2DF5E #5EDF6B
monochromatic
#6E20A2 #902BD5 #AB5EDF #C691E9 #E0C4F3

Accessibility & contrast

On white

3.89
#AB5EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AB5EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EDF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EDF#FFFFFF#000000##000000
##AB5EDF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#4F82DC
Tritanopia (blue-blind)
#A47696
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5edf;
/* rgb */ color: rgb(171, 94, 223);
/* oklch */ color: oklch(62.6% 0.196 309.4);
Tailwind
colors: {
  custom: {
    50: '#c78fea',
    500: '#ab5edf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5edf;
$custom-light: #c78fea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5edf",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 275.814,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.19562,
    "h": 309.4
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#AB5EDF
secondary
#C8E4B5
accent
#CF1761
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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