#A231BA#A231BA

#A231BA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.216 H 319.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A231BA
RGBrgb(162, 49, 186)
HSLhsl(289, 58%, 46%)
HSVhsv(289, 74%, 73%)
CMYKcmyk(12.9%, 73.7%, 0%, 27.1%)
CIE-LABlab(43.40, 63.75, -49.52)
CIE-LCHlch(43.40, 80.72, 322.16°)
OKLaboklab(54.01% 0.165 -0.1388)
OKLCHoklch(54.01% 0.216 319.9)
XYZxyz(24.8604, 13.4244, 47.7265)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231BA #49BA31
analogous
#5D31BA #A231BA #BA318D
triadic
#A231BA #BAA231 #31BAA2
tetradic
#A231BA #BA5D31 #49BA31 #318DBA
square
#A231BA #BA5D31 #49BA31 #318DBA
split-complementary
#A231BA #8DBA31 #31BA5D
monochromatic
#4E1759 #78248A #A231BA #BD56D2 #D086DF

Accessibility & contrast

On white

5.70
#A231BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A231BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231BA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231BA#FFFFFF#000000##FFFFFF
##A231BA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#A24C73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a231ba;
/* rgb */ color: rgb(162, 49, 186);
/* oklch */ color: oklch(54.0% 0.216 319.9);
Tailwind
colors: {
  custom: {
    50: '#c175cf',
    500: '#a231ba',
    950: '#000000',
  },
}
SCSS
$custom: #a231ba;
$custom-light: #c175cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a231ba",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 289.489,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.21565,
    "h": 319.9
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#A231BA
secondary
#8BC97E
accent
#E24661
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A231BA

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

Preview Lab → · Contrast checker → · Palette generator →

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