#AB50F3#AB50F3

#AB50F3 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.2% C 0.235 H 306.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB50F3
RGBrgb(171, 80, 243)
HSLhsl(273, 87%, 63%)
HSVhsv(273, 67%, 95%)
CMYKcmyk(29.6%, 67.1%, 0%, 4.7%)
CIE-LABlab(52.80, 64.65, -66.90)
CIE-LCHlch(52.80, 93.04, 314.02°)
OKLaboklab(62.16% 0.1392 -0.1897)
OKLCHoklch(62.16% 0.235 306.3)
XYZxyz(35.8374, 20.8667, 86.9164)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50F3 #98F350
analogous
#5950F3 #AB50F3 #F350E9
triadic
#AB50F3 #F3AB50 #50F3AB
tetradic
#AB50F3 #F35950 #98F350 #50E9F3
square
#AB50F3 #F35950 #98F350 #50E9F3
split-complementary
#AB50F3 #E9F350 #50F359
monochromatic
#6E0DBC #9017EF #AB50F3 #C689F7 #E2C3FB

Accessibility & contrast

On white

4.06
#AB50F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AB50F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50F3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50F3#FFFFFF#000000##000000
##AB50F31.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#207FEF
Tritanopia (blue-blind)
#9F749B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab50f3;
/* rgb */ color: rgb(171, 80, 243);
/* oklch */ color: oklch(62.2% 0.235 306.3);
Tailwind
colors: {
  custom: {
    50: '#c987f8',
    500: '#ab50f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab50f3;
$custom-light: #c987f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50f3",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 273.497,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62156,
    "c": 0.23535,
    "h": 306.3
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#AB50F3
secondary
#CCECB2
accent
#E40266
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB50F3

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

Preview Lab → · Contrast checker → · Palette generator →

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