#A23BB7#A23BB7

#A23BB7 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.201 H 320.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A23BB7
RGBrgb(162, 59, 183)
HSLhsl(290, 51%, 47%)
HSVhsv(290, 68%, 72%)
CMYKcmyk(11.5%, 67.8%, 0%, 28.2%)
CIE-LABlab(44.56, 59.37, -45.90)
CIE-LCHlch(44.56, 75.04, 322.29°)
OKLaboklab(54.79% 0.1551 -0.1283)
OKLCHoklch(54.79% 0.201 320.4)
XYZxyz(25.0105, 14.2294, 46.2197)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BB7 #50B73B
analogous
#643BB7 #A23BB7 #B73B8E
triadic
#A23BB7 #B7A23B #3BB7A2
tetradic
#A23BB7 #B7643B #50B73B #3B8EB7
square
#A23BB7 #B7643B #50B73B #3B8EB7
split-complementary
#A23BB7 #8EB73B #3BB764
monochromatic
#501D5A #792C89 #A23BB7 #BB63CD #CF91DC

Accessibility & contrast

On white

5.46
#A23BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A23BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BB7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BB7#FFFFFF#000000##FFFFFF
##A23BB71.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62BB
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#A35174
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a23bb7;
/* rgb */ color: rgb(162, 59, 183);
/* oklch */ color: oklch(54.8% 0.201 320.4);
Tailwind
colors: {
  custom: {
    50: '#c179cd',
    500: '#a23bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a23bb7;
$custom-light: #c179cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bb7",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 289.839,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.20125,
    "h": 320.4
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#A23BB7
secondary
#92C687
accent
#DB4D65
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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