#AB3EDB#AB3EDB

#AB3EDB is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.234 H 313.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB3EDB
RGBrgb(171, 62, 219)
HSLhsl(282, 69%, 55%)
HSVhsv(282, 72%, 86%)
CMYKcmyk(21.9%, 71.7%, 0%, 14.1%)
CIE-LABlab(48.53, 67.12, -60.26)
CIE-LCHlch(48.53, 90.20, 318.08°)
OKLaboklab(58.61% 0.1601 -0.1701)
OKLCHoklch(58.61% 0.234 313.3)
XYZxyz(31.3011, 17.2186, 68.6788)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EDB #6EDB3E
analogous
#5C3EDB #AB3EDB #DB3EBD
triadic
#AB3EDB #DBAB3E #3EDBAB
tetradic
#AB3EDB #DB5C3E #6EDB3E #3EBDDB
square
#AB3EDB #DB5C3E #6EDB3E #3EBDDB
split-complementary
#AB3EDB #BDDB3E #3EDB5C
monochromatic
#641986 #8B23B9 #AB3EDB #C172E5 #D8A5EE

Accessibility & contrast

On white

4.73
#AB3EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AB3EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EDB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EDB#FFFFFF#000000##FFFFFF
##AB3EDB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#A66089
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab3edb;
/* rgb */ color: rgb(171, 62, 219);
/* oklch */ color: oklch(58.6% 0.234 313.3);
Tailwind
colors: {
  custom: {
    50: '#c97de7',
    500: '#ab3edb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3edb;
$custom-light: #c97de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3edb",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 281.656,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.23361,
    "h": 313.3
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#AB3EDB
secondary
#AEDB99
accent
#EB3C72
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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