#AB43EF#AB43EF

#AB43EF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.5% C 0.247 H 308.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB43EF
RGBrgb(171, 67, 239)
HSLhsl(276, 84%, 60%)
HSVhsv(276, 72%, 94%)
CMYKcmyk(28.5%, 72%, 0%, 6.3%)
CIE-LABlab(50.58, 69.28, -68.27)
CIE-LCHlch(50.58, 97.27, 315.42°)
OKLaboklab(60.48% 0.1525 -0.1937)
OKLCHoklch(60.48% 0.247 308.2)
XYZxyz(34.3785, 18.9048, 83.4825)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43EF #87EF43
analogous
#5543EF #AB43EF #EF43DD
triadic
#AB43EF #EFAB43 #43EFAB
tetradic
#AB43EF #EF5543 #87EF43 #43DDEF
square
#AB43EF #EF5543 #87EF43 #43DDEF
split-complementary
#AB43EF #DDEF43 #43EF55
monochromatic
#6C0EA9 #9013E2 #AB43EF #C47BF4 #DDB4F9

Accessibility & contrast

On white

4.39
#AB43EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB43EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB43EF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43EF#FFFFFF#000000##000000
##AB43EF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0479EB
Tritanopia (blue-blind)
#A06B96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab43ef;
/* rgb */ color: rgb(171, 67, 239);
/* oklch */ color: oklch(60.5% 0.247 308.2);
Tailwind
colors: {
  custom: {
    50: '#c980f5',
    500: '#ab43ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab43ef;
$custom-light: #c980f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43ef",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 239
  },
  "hsl": {
    "h": 276.279,
    "s": 84.314,
    "l": 60
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.24653,
    "h": 308.2
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#AB43EF
secondary
#C0E8A6
accent
#FB2D7E
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB43EF

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

Preview Lab → · Contrast checker → · Palette generator →

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