#AB5EFF#AB5EFF

#AB5EFF is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.7% C 0.230 H 302.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB5EFF
RGBrgb(171, 94, 255)
HSLhsl(269, 100%, 68%)
HSVhsv(269, 63%, 100%)
CMYKcmyk(32.9%, 63.1%, 0%, 0%)
CIE-LABlab(55.97, 60.83, -68.46)
CIE-LCHlch(55.97, 91.58, 311.62°)
OKLaboklab(64.68% 0.1232 -0.1944)
OKLCHoklch(64.68% 0.23 302.4)
XYZxyz(38.8431, 23.8833, 97.1519)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EFF #B2FF5E
analogous
#5E61FF #AB5EFF #FC5EFF
triadic
#AB5EFF #FFAB5E #5EFFAB
tetradic
#AB5EFF #FF5E61 #B2FF5E #5EFFFC
square
#AB5EFF #FF5E61 #B2FF5E #5EFFFC
split-complementary
#AB5EFF #FFFC5E #61FF5E
monochromatic
#6C00E3 #8B21FF #AB5EFF #CB9BFF #EBD8FF

Accessibility & contrast

On white

3.64
#AB5EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#AB5EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EFF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EFF#FFFFFF#000000##000000
##AB5EFF1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#2486FB
Tritanopia (blue-blind)
#9A81A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab5eff;
/* rgb */ color: rgb(171, 94, 255);
/* oklch */ color: oklch(64.7% 0.230 302.4);
Tailwind
colors: {
  custom: {
    50: '#c990ff',
    500: '#ab5eff',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eff;
$custom-light: #c990ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eff",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 268.696,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64683,
    "c": 0.23012,
    "h": 302.4
  },
  "luminance": 0.23883
}

Semantic roles & 50–950 ramp

primary
#AB5EFF
secondary
#DDF5C4
accent
#E60078
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB5EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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