#A231BC#A231BC

#A231BC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.217 H 319.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A231BC
RGBrgb(162, 49, 188)
HSLhsl(289, 59%, 46%)
HSVhsv(289, 74%, 74%)
CMYKcmyk(13.8%, 73.9%, 0%, 26.3%)
CIE-LABlab(43.52, 64.12, -50.49)
CIE-LCHlch(43.52, 81.61, 321.78°)
OKLaboklab(54.14% 0.1648 -0.1417)
OKLCHoklch(54.14% 0.217 319.3)
XYZxyz(25.0745, 13.5101, 48.8541)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231BC #4BBC31
analogous
#5D31BC #A231BC #BC3191
triadic
#A231BC #BCA231 #31BCA2
tetradic
#A231BC #BC5D31 #4BBC31 #3191BC
square
#A231BC #BC5D31 #4BBC31 #3191BC
split-complementary
#A231BC #91BC31 #31BC5D
monochromatic
#4E185B #78248B #A231BC #BC57D3 #CF88E0

Accessibility & contrast

On white

5.67
#A231BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A231BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231BC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231BC#FFFFFF#000000##FFFFFF
##A231BC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#A24D74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a231bc;
/* rgb */ color: rgb(162, 49, 188);
/* oklch */ color: oklch(54.1% 0.217 319.3);
Tailwind
colors: {
  custom: {
    50: '#c275d1',
    500: '#a231bc',
    950: '#000000',
  },
}
SCSS
$custom: #a231bc;
$custom-light: #c275d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a231bc",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 288.777,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.21735,
    "h": 319.3
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#A231BC
secondary
#8DCA7F
accent
#E24663
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A231BC

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

Preview Lab → · Contrast checker → · Palette generator →

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