#AB3BF2#AB3BF2

#AB3BF2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 60.0% C 0.258 H 308.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB3BF2
RGBrgb(171, 59, 242)
HSLhsl(277, 88%, 59%)
HSVhsv(277, 76%, 95%)
CMYKcmyk(29.3%, 75.6%, 0%, 5.1%)
CIE-LABlab(49.73, 72.92, -71.32)
CIE-LCHlch(49.73, 102.00, 315.64°)
OKLaboklab(59.96% 0.159 -0.2026)
OKLCHoklch(59.96% 0.258 308.1)
XYZxyz(34.3822, 18.1972, 85.6883)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BF2 #82F23B
analogous
#503BF2 #AB3BF2 #F23BDE
triadic
#AB3BF2 #F2AB3B #3BF2AB
tetradic
#AB3BF2 #F2503B #82F23B #3BDEF2
square
#AB3BF2 #F2503B #82F23B #3BDEF2
split-complementary
#AB3BF2 #DEF23B #3BF250
monochromatic
#6B0BA7 #8F0FE1 #AB3BF2 #C474F6 #DCAEFA

Accessibility & contrast

On white

4.53
#AB3BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AB3BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB3BF2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BF2#FFFFFF#000000##000000
##AB3BF21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0077EE
Tritanopia (blue-blind)
#A06895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab3bf2;
/* rgb */ color: rgb(171, 59, 242);
/* oklch */ color: oklch(60.0% 0.258 308.1);
Tailwind
colors: {
  custom: {
    50: '#ca7cf7',
    500: '#ab3bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bf2;
$custom-light: #ca7cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bf2",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 242
  },
  "hsl": {
    "h": 276.721,
    "s": 87.56,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.25751,
    "h": 308.1
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#AB3BF2
secondary
#BCE8A0
accent
#FE2A7C
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85

Preview Lab

Preview with #AB3BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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