#AB50F0#AB50F0

#AB50F0 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 62.0% C 0.232 H 306.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB50F0
RGBrgb(171, 80, 240)
HSLhsl(274, 84%, 63%)
HSVhsv(274, 67%, 94%)
CMYKcmyk(28.8%, 66.7%, 0%, 5.9%)
CIE-LABlab(52.61, 63.99, -65.54)
CIE-LCHlch(52.61, 91.60, 314.31°)
OKLaboklab(61.95% 0.1395 -0.1858)
OKLCHoklch(61.95% 0.232 306.9)
XYZxyz(35.3881, 20.6869, 84.5499)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50F0 #95F050
analogous
#5B50F0 #AB50F0 #F050E5
triadic
#AB50F0 #F0AB50 #50F0AB
tetradic
#AB50F0 #F05B50 #95F050 #50E5F0
square
#AB50F0 #F05B50 #95F050 #50E5F0
split-complementary
#AB50F0 #E5F050 #50F05B
monochromatic
#6E10B6 #9018EB #AB50F0 #C688F5 #E1C1FA

Accessibility & contrast

On white

4.09
#AB50F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB50F0#FFFFFF#000000##000000
##AB50F01.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#277EED
Tritanopia (blue-blind)
#A0739A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab50f0;
/* rgb */ color: rgb(171, 80, 240);
/* oklch */ color: oklch(62.0% 0.232 306.9);
Tailwind
colors: {
  custom: {
    50: '#c987f6',
    500: '#ab50f0',
    950: '#000000',
  },
}
SCSS
$custom: #ab50f0;
$custom-light: #c987f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50f0",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 240
  },
  "hsl": {
    "h": 274.125,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.23233,
    "h": 306.9
  },
  "luminance": 0.20687
}

Semantic roles & 50–950 ramp

primary
#AB50F0
secondary
#CAEBB1
accent
#E10564
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB50F0

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

Preview Lab → · Contrast checker → · Palette generator →

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