#A231BF#A231BF

#A231BF is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.220 H 318.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A231BF
RGBrgb(162, 49, 191)
HSLhsl(288, 59%, 47%)
HSVhsv(288, 74%, 75%)
CMYKcmyk(15.2%, 74.3%, 0%, 25.1%)
CIE-LABlab(43.71, 64.68, -51.94)
CIE-LCHlch(43.71, 82.95, 321.24°)
OKLaboklab(54.34% 0.1645 -0.1459)
OKLCHoklch(54.34% 0.22 318.4)
XYZxyz(25.4013, 13.6408, 50.5750)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231BF #4EBF31
analogous
#5B31BF #A231BF #BF3195
triadic
#A231BF #BFA231 #31BFA2
tetradic
#A231BF #BF5B31 #4EBF31 #3195BF
square
#A231BF #BF5B31 #4EBF31 #3195BF
split-complementary
#A231BF #95BF31 #31BF5B
monochromatic
#4F185E #79258E #A231BF #BB59D4 #CF8AE1

Accessibility & contrast

On white

5.63
#A231BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A231BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231BF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231BF#FFFFFF#000000##FFFFFF
##A231BF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#A14E76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a231bf;
/* rgb */ color: rgb(162, 49, 191);
/* oklch */ color: oklch(54.3% 0.220 318.4);
Tailwind
colors: {
  custom: {
    50: '#c275d3',
    500: '#a231bf',
    950: '#000000',
  },
}
SCSS
$custom: #a231bf;
$custom-light: #c275d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a231bf",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 287.746,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.21992,
    "h": 318.4
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#A231BF
secondary
#90CB81
accent
#E24565
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A231BF

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

Preview Lab → · Contrast checker → · Palette generator →

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