#AB5FE3#AB5FE3

#AB5FE3 is a light, vivid violet. Relative luminance 0.224; OKLCH L 63.0% C 0.198 H 308.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB5FE3
RGBrgb(171, 95, 227)
HSLhsl(275, 70%, 63%)
HSVhsv(275, 58%, 89%)
CMYKcmyk(24.7%, 58.1%, 0%, 11%)
CIE-LABlab(54.44, 53.92, -55.30)
CIE-LCHlch(54.44, 77.24, 314.27°)
OKLaboklab(63.02% 0.123 -0.1558)
OKLCHoklch(63.02% 0.198 308.3)
XYZxyz(34.7491, 22.3889, 75.1491)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FE3 #97E35F
analogous
#695FE3 #AB5FE3 #E35FD9
triadic
#AB5FE3 #E3AB5F #5FE3AB
tetradic
#AB5FE3 #E3695F #97E35F #5FD9E3
square
#AB5FE3 #E3695F #97E35F #5FD9E3
split-complementary
#AB5FE3 #D9E35F #5FE369
monochromatic
#6E1EAA #902BDA #AB5FE3 #C693EC #E2C7F5

Accessibility & contrast

On white

3.83
#AB5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AB5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FE3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FE3#FFFFFF#000000##000000
##AB5FE31.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE7
Deuteranopia (green-blind)
#4C83E0
Tritanopia (blue-blind)
#A37898
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5fe3;
/* rgb */ color: rgb(171, 95, 227);
/* oklch */ color: oklch(63.0% 0.198 308.3);
Tailwind
colors: {
  custom: {
    50: '#c790ec',
    500: '#ab5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fe3;
$custom-light: #c790ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fe3",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 274.545,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63021,
    "c": 0.19848,
    "h": 308.3
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#AB5FE3
secondary
#CBE7B7
accent
#D21364
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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