#A251BF#A251BF

#A251BF is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.178 H 316.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A251BF
RGBrgb(162, 81, 191)
HSLhsl(284, 46%, 53%)
HSVhsv(284, 58%, 75%)
CMYKcmyk(15.2%, 57.6%, 0%, 25.1%)
CIE-LABlab(48.67, 50.92, -44.01)
CIE-LCHlch(48.67, 67.30, 319.16°)
OKLaboklab(57.91% 0.1286 -0.1229)
OKLCHoklch(57.91% 0.178 316.3)
XYZxyz(27.2453, 17.3288, 51.1897)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251BF #6EBF51
analogous
#6B51BF #A251BF #BF51A5
triadic
#A251BF #BFA251 #51BFA2
tetradic
#A251BF #BF6B51 #6EBF51 #51A5BF
square
#A251BF #BF6B51 #6EBF51 #51A5BF
split-complementary
#A251BF #A5BF51 #51BF6B
monochromatic
#5B286D #80399A #A251BF #BA7ECF #D2AAE0

Accessibility & contrast

On white

4.70
#A251BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A251BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A251BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251BF#FFFFFF#000000##FFFFFF
##A251BF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#A16380
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a251bf;
/* rgb */ color: rgb(162, 81, 191);
/* oklch */ color: oklch(57.9% 0.178 316.3);
Tailwind
colors: {
  custom: {
    50: '#c086d3',
    500: '#a251bf',
    950: '#000000',
  },
}
SCSS
$custom: #a251bf;
$custom-light: #c086d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a251bf",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 284.182,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.17792,
    "h": 316.3
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#A251BF
secondary
#ABCE9E
accent
#D65275
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A251BF

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

Preview Lab → · Contrast checker → · Palette generator →

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