#AB5FF4#AB5FF4

#AB5FF4 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.1% C 0.217 H 304.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB5FF4
RGBrgb(171, 95, 244)
HSLhsl(271, 87%, 66%)
HSVhsv(271, 61%, 96%)
CMYKcmyk(29.9%, 61.1%, 0%, 4.3%)
CIE-LABlab(55.46, 57.78, -63.18)
CIE-LCHlch(55.46, 85.62, 312.44°)
OKLaboklab(64.09% 0.1227 -0.1789)
OKLCHoklch(64.09% 0.217 304.5)
XYZxyz(37.2123, 23.3742, 88.1217)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FF4 #A8F45F
analogous
#615FF4 #AB5FF4 #F45FF3
triadic
#AB5FF4 #F4AB5F #5FF4AB
tetradic
#AB5FF4 #F4615F #A8F45F #5FF3F4
square
#AB5FF4 #F4615F #A8F45F #5FF3F4
split-complementary
#AB5FF4 #F3F45F #5FF461
monochromatic
#6E0ECB #8D26F0 #AB5FF4 #C998F8 #E7D2FC

Accessibility & contrast

On white

3.70
#AB5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AB5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FF4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FF4#FFFFFF#000000##000000
##AB5FF41.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#3A85F1
Tritanopia (blue-blind)
#9E7EA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab5ff4;
/* rgb */ color: rgb(171, 95, 244);
/* oklch */ color: oklch(64.1% 0.217 304.5);
Tailwind
colors: {
  custom: {
    50: '#c890f8',
    500: '#ab5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ff4;
$custom-light: #c890f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ff4",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 270.604,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64088,
    "c": 0.21693,
    "h": 304.5
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#AB5FF4
secondary
#D7F0BF
accent
#E40270
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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