#A23BB4#A23BB4

#A23BB4 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.199 H 321.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A23BB4
RGBrgb(162, 59, 180)
HSLhsl(291, 51%, 47%)
HSVhsv(291, 67%, 71%)
CMYKcmyk(10%, 67.2%, 0%, 29.4%)
CIE-LABlab(44.38, 58.80, -44.41)
CIE-LCHlch(44.38, 73.69, 322.94°)
OKLaboklab(54.6% 0.1551 -0.124)
OKLCHoklch(54.6% 0.199 321.4)
XYZxyz(24.7016, 14.1059, 44.5928)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BB4 #4DB43B
analogous
#653BB4 #A23BB4 #B43B8A
triadic
#A23BB4 #B4A23B #3BB4A2
tetradic
#A23BB4 #B4653B #4DB43B #3B8AB4
square
#A23BB4 #B4653B #4DB43B #3B8AB4
split-complementary
#A23BB4 #8AB43B #3BB465
monochromatic
#4F1D58 #792C86 #A23BB4 #BB61CB #CF8FDA

Accessibility & contrast

On white

5.50
#A23BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A23BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BB4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BB4#FFFFFF#000000##FFFFFF
##A23BB41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1562B8
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#A35073
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23bb4;
/* rgb */ color: rgb(162, 59, 180);
/* oklch */ color: oklch(54.6% 0.199 321.4);
Tailwind
colors: {
  custom: {
    50: '#c179cb',
    500: '#a23bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a23bb4;
$custom-light: #c179cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bb4",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 291.074,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.19858,
    "h": 321.4
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#A23BB4
secondary
#8FC586
accent
#DA4E63
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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