#A151B3#A151B3

#A151B3 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.1% C 0.165 H 320.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A151B3
RGBrgb(161, 81, 179)
HSLhsl(289, 39%, 51%)
HSVhsv(289, 55%, 70%)
CMYKcmyk(10.1%, 54.7%, 0%, 29.8%)
CIE-LABlab(47.90, 48.20, -38.25)
CIE-LCHlch(47.90, 61.53, 321.56°)
OKLaboklab(57.11% 0.1265 -0.1062)
OKLCHoklch(57.11% 0.165 320)
XYZxyz(25.7761, 16.7177, 44.5082)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151B3 #63B351
analogous
#7051B3 #A151B3 #B35194
triadic
#A151B3 #B3A151 #51B3A1
tetradic
#A151B3 #B37051 #63B351 #5194B3
square
#A151B3 #B37051 #63B351 #5194B3
split-complementary
#A151B3 #94B351 #51B370
monochromatic
#562A60 #7C3C8A #A151B3 #B87CC6 #CFA6D8

Accessibility & contrast

On white

4.83
#A151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A151B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A151B3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151B3#FFFFFF#000000##FFFFFF
##A151B31.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#A25F7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a151b3;
/* rgb */ color: rgb(161, 81, 179);
/* oklch */ color: oklch(57.1% 0.165 320.0);
Tailwind
colors: {
  custom: {
    50: '#bf85ca',
    500: '#a151b3',
    950: '#000000',
  },
}
SCSS
$custom: #a151b3;
$custom-light: #bf85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a151b3",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 288.98,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.16523,
    "h": 320
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

primary
#A151B3
secondary
#A2C69A
accent
#CF596E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A151B3

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

Preview Lab → · Contrast checker → · Palette generator →

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