#AB52F3#AB52F3

#AB52F3 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.233 H 306.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB52F3
RGBrgb(171, 82, 243)
HSLhsl(273, 87%, 64%)
HSVhsv(273, 66%, 95%)
CMYKcmyk(29.6%, 66.3%, 0%, 4.7%)
CIE-LABlab(53.13, 63.75, -66.38)
CIE-LCHlch(53.13, 92.03, 313.84°)
OKLaboklab(62.39% 0.1371 -0.1882)
OKLCHoklch(62.39% 0.233 306.1)
XYZxyz(35.9860, 21.1639, 86.9659)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB52F3 #9AF352
analogous
#5A52F3 #AB52F3 #F352EA
triadic
#AB52F3 #F3AB52 #52F3AB
tetradic
#AB52F3 #F35A52 #9AF352 #52EAF3
square
#AB52F3 #F35A52 #9AF352 #52EAF3
split-complementary
#AB52F3 #EAF352 #52F35A
monochromatic
#6F0DBD #8F19EF #AB52F3 #C78BF7 #E3C4FB

Accessibility & contrast

On white

4.01
#AB52F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AB52F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB52F3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB52F3#FFFFFF#000000##000000
##AB52F31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#247FEF
Tritanopia (blue-blind)
#9F759C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab52f3;
/* rgb */ color: rgb(171, 82, 243);
/* oklch */ color: oklch(62.4% 0.233 306.1);
Tailwind
colors: {
  custom: {
    50: '#c988f8',
    500: '#ab52f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab52f3;
$custom-light: #c988f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab52f3",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 273.168,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.23287,
    "h": 306.1
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#AB52F3
secondary
#CDEDB4
accent
#E40267
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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