#AB3CDB#AB3CDB

#AB3CDB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.236 H 313.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB3CDB
RGBrgb(171, 60, 219)
HSLhsl(282, 69%, 55%)
HSVhsv(282, 73%, 86%)
CMYKcmyk(21.9%, 72.6%, 0%, 14.1%)
CIE-LABlab(48.27, 67.88, -60.69)
CIE-LCHlch(48.27, 91.05, 318.20°)
OKLaboklab(58.42% 0.162 -0.1714)
OKLCHoklch(58.42% 0.236 313.4)
XYZxyz(31.1944, 17.0051, 68.6432)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CDB #6CDB3C
analogous
#5C3CDB #AB3CDB #DB3CBB
triadic
#AB3CDB #DBAB3C #3CDBAB
tetradic
#AB3CDB #DB5C3C #6CDB3C #3CBBDB
square
#AB3CDB #DB5C3C #6CDB3C #3CBBDB
split-complementary
#AB3CDB #BBDB3C #3CDB5C
monochromatic
#641884 #8B22B8 #AB3CDB #C170E5 #D8A3EE

Accessibility & contrast

On white

4.77
#AB3CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB3CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CDB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CDB#FFFFFF#000000##FFFFFF
##AB3CDB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#2E75D8
Tritanopia (blue-blind)
#A65F89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab3cdb;
/* rgb */ color: rgb(171, 60, 219);
/* oklch */ color: oklch(58.4% 0.236 313.4);
Tailwind
colors: {
  custom: {
    50: '#c97ce7',
    500: '#ab3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cdb;
$custom-light: #c97ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cdb",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 281.887,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.23581,
    "h": 313.4
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#AB3CDB
secondary
#ACDB98
accent
#EC3C71
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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