#AB5CF9#AB5CF9

#AB5CF9 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.226 H 303.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AB5CF9
RGBrgb(171, 92, 249)
HSLhsl(270, 93%, 67%)
HSVhsv(270, 63%, 98%)
CMYKcmyk(31.3%, 63.1%, 0%, 2.4%)
CIE-LABlab(55.23, 60.41, -66.33)
CIE-LCHlch(55.23, 89.71, 312.32°)
OKLaboklab(64.02% 0.1258 -0.1881)
OKLCHoklch(64.02% 0.226 303.8)
XYZxyz(37.7167, 23.1519, 92.0859)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CF9 #AAF95C
analogous
#5D5CF9 #AB5CF9 #F95CF8
triadic
#AB5CF9 #F9AB5C #5CF9AB
tetradic
#AB5CF9 #F95D5C #AAF95C #5CF8F9
square
#AB5CF9 #F95D5C #AAF95C #5CF8F9
split-complementary
#AB5CF9 #F8F95C #5CF95D
monochromatic
#6E08D3 #8D21F7 #AB5CF9 #C997FB #E8D2FD

Accessibility & contrast

On white

3.73
#AB5CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AB5CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CF9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CF9#FFFFFF#000000##000000
##AB5CF91.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FE
Deuteranopia (green-blind)
#2D84F6
Tritanopia (blue-blind)
#9C7EA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5cf9;
/* rgb */ color: rgb(171, 92, 249);
/* oklch */ color: oklch(64.0% 0.226 303.8);
Tailwind
colors: {
  custom: {
    50: '#c98efc',
    500: '#ab5cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cf9;
$custom-light: #c98efc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cf9",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 270.191,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.22631,
    "h": 303.8
  },
  "luminance": 0.23152
}

Semantic roles & 50–950 ramp

primary
#AB5CF9
secondary
#D8F2BF
accent
#E60072
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB5CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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