#AB4BFC#AB4BFC

#AB4BFC is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.2% C 0.250 H 304.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB4BFC
RGBrgb(171, 75, 252)
HSLhsl(273, 97%, 64%)
HSVhsv(273, 70%, 99%)
CMYKcmyk(32.1%, 70.2%, 0%, 1.2%)
CIE-LABlab(52.64, 68.82, -72.18)
CIE-LCHlch(52.64, 99.73, 313.63°)
OKLaboklab(62.23% 0.143 -0.2052)
OKLCHoklch(62.23% 0.25 304.9)
XYZxyz(36.8774, 20.7186, 94.1329)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BFC #9CFC4B
analogous
#534BFC #AB4BFC #FC4BF5
triadic
#AB4BFC #FCAB4B #4BFCAB
tetradic
#AB4BFC #FC534B #9CFC4B #4BF5FC
square
#AB4BFC #FC534B #9CFC4B #4BF5FC
split-complementary
#AB4BFC #F5FC4B #4BFC53
monochromatic
#6F03C9 #8F0FFB #AB4BFC #C787FD #E3C3FE

Accessibility & contrast

On white

4.08
#AB4BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AB4BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BFC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BFC#FFFFFF#000000##000000
##AB4BFC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#9C759F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab4bfc;
/* rgb */ color: rgb(171, 75, 252);
/* oklch */ color: oklch(62.2% 0.250 304.9);
Tailwind
colors: {
  custom: {
    50: '#ca85fe',
    500: '#ab4bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bfc;
$custom-light: #ca85fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bfc",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 272.542,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62234,
    "c": 0.25012,
    "h": 304.9
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#AB4BFC
secondary
#CFF0B3
accent
#E60069
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AB4BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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