#AB43CB#AB43CB

#AB43CB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.213 H 317.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB43CB
RGBrgb(171, 67, 203)
HSLhsl(286, 57%, 53%)
HSVhsv(286, 67%, 80%)
CMYKcmyk(15.8%, 67%, 0%, 20.4%)
CIE-LABlab(48.24, 61.93, -51.56)
CIE-LCHlch(48.24, 80.59, 320.22°)
OKLaboklab(58.08% 0.1564 -0.1446)
OKLCHoklch(58.08% 0.213 317.2)
XYZxyz(29.5797, 16.9852, 58.2087)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43CB #63CB43
analogous
#6743CB #AB43CB #CB43A7
triadic
#AB43CB #CBAB43 #43CBAB
tetradic
#AB43CB #CB6743 #63CB43 #43A7CB
square
#AB43CB #CB6743 #63CB43 #43A7CB
split-complementary
#AB43CB #A7CB43 #43CB67
monochromatic
#602074 #882DA4 #AB43CB #C073D8 #D6A3E6

Accessibility & contrast

On white

4.78
#AB43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB43CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43CB#FFFFFF#000000##FFFFFF
##AB43CB1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#AA5D82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab43cb;
/* rgb */ color: rgb(171, 67, 203);
/* oklch */ color: oklch(58.1% 0.213 317.2);
Tailwind
colors: {
  custom: {
    50: '#c87fdb',
    500: '#ab43cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab43cb;
$custom-light: #c87fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43cb",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 285.882,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.21301,
    "h": 317.2
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#AB43CB
secondary
#A5D298
accent
#E0486C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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