#A251BE#A251BE

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

Color values

HEX#A251BE
RGBrgb(162, 81, 190)
HSLhsl(285, 46%, 53%)
HSVhsv(285, 57%, 75%)
CMYKcmyk(14.7%, 57.4%, 0%, 25.5%)
CIE-LABlab(48.62, 50.71, -43.52)
CIE-LCHlch(48.62, 66.82, 319.37°)
OKLaboklab(57.86% 0.1286 -0.1215)
OKLCHoklch(57.86% 0.177 316.6)
XYZxyz(27.1356, 17.2849, 50.6121)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A251BE #6DBE51
analogous
#6B51BE #A251BE #BE51A3
triadic
#A251BE #BEA251 #51BEA2
tetradic
#A251BE #BE6B51 #6DBE51 #51A3BE
square
#A251BE #BE6B51 #6DBE51 #51A3BE
split-complementary
#A251BE #A3BE51 #51BE6B
monochromatic
#5B286C #803999 #A251BE #BA7ECF #D2AADF

Accessibility & contrast

On white

4.71
#A251BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A251BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A251BE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A251BE#FFFFFF#000000##FFFFFF
##A251BE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#A16380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a251be;
/* rgb */ color: rgb(162, 81, 190);
/* oklch */ color: oklch(57.9% 0.177 316.6);
Tailwind
colors: {
  custom: {
    50: '#c086d2',
    500: '#a251be',
    950: '#000000',
  },
}
SCSS
$custom: #a251be;
$custom-light: #c086d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a251be",
  "rgb": {
    "r": 162,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 284.587,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.1769,
    "h": 316.6
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#A251BE
secondary
#AACD9E
accent
#D55374
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A251BE

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

Preview Lab → · Contrast checker → · Palette generator →

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