#A23BA2#A23BA2

#A23BA2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.183 H 327.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A23BA2
RGBrgb(162, 59, 162)
HSLhsl(300, 47%, 43%)
HSVhsv(300, 64%, 64%)
CMYKcmyk(0%, 63.6%, 0%, 36.5%)
CIE-LABlab(43.39, 55.53, -35.33)
CIE-LCHlch(43.39, 65.81, 327.53°)
OKLaboklab(53.56% 0.1547 -0.0976)
OKLCHoklch(53.56% 0.183 327.8)
XYZxyz(22.9855, 13.4195, 35.5550)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BA2 #3BA23B
analogous
#6E3BA2 #A23BA2 #A23B6E
triadic
#A23BA2 #A2A23B #3BA2A2
tetradic
#A23BA2 #A26E3B #3BA23B #3B6EA2
square
#A23BA2 #A26E3B #3BA23B #3B6EA2
split-complementary
#A23BA2 #6EA23B #3BA26E
monochromatic
#481A48 #752B75 #A23BA2 #C258C2 #D385D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23BA2#FFFFFF#000000##FFFFFF
##A23BA21.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)
#2E5EA5
Deuteranopia (green-blind)
#546B9F
Tritanopia (blue-blind)
#A74869
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a23ba2;
/* rgb */ color: rgb(162, 59, 162);
/* oklch */ color: oklch(53.6% 0.183 327.8);
Tailwind
colors: {
  custom: {
    50: '#c179be',
    500: '#a23ba2',
    950: '#000000',
  },
}
SCSS
$custom: #a23ba2;
$custom-light: #c179be;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ba2",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.1829,
    "h": 327.8
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#A23BA2
secondary
#7CBD7C
accent
#D65252
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A23BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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