#AB3FCB#AB3FCB

#AB3FCB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.218 H 317.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB3FCB
RGBrgb(171, 63, 203)
HSLhsl(286, 57%, 52%)
HSVhsv(286, 69%, 80%)
CMYKcmyk(15.8%, 69%, 0%, 20.4%)
CIE-LABlab(47.66, 63.57, -52.50)
CIE-LCHlch(47.66, 82.44, 320.45°)
OKLaboklab(57.66% 0.1606 -0.1474)
OKLCHoklch(57.66% 0.218 317.5)
XYZxyz(29.3500, 16.5260, 58.1321)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FCB #5FCB3F
analogous
#653FCB #AB3FCB #CB3FA5
triadic
#AB3FCB #CBAB3F #3FCBAB
tetradic
#AB3FCB #CB653F #5FCB3F #3FA5CB
square
#AB3FCB #CB653F #5FCB3F #3FA5CB
split-complementary
#AB3FCB #A5CB3F #3FCB65
monochromatic
#5E1F71 #862CA1 #AB3FCB #C06FD8 #D59FE5

Accessibility & contrast

On white

4.88
#AB3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AB3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FCB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FCB#FFFFFF#000000##FFFFFF
##AB3FCB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#AA5A81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3fcb;
/* rgb */ color: rgb(171, 63, 203);
/* oklch */ color: oklch(57.7% 0.218 317.5);
Tailwind
colors: {
  custom: {
    50: '#c87ddb',
    500: '#ab3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fcb;
$custom-light: #c87ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fcb",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 286.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57659,
    "c": 0.21798,
    "h": 317.5
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#AB3FCB
secondary
#A2D194
accent
#E1476A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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