#A23BC4#A23BC4

#A23BC4 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.213 H 316.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A23BC4
RGBrgb(162, 59, 196)
HSLhsl(285, 54%, 50%)
HSVhsv(285, 70%, 77%)
CMYKcmyk(17.3%, 69.9%, 0%, 23.1%)
CIE-LABlab(45.35, 61.89, -52.21)
CIE-LCHlch(45.35, 80.97, 319.85°)
OKLaboklab(55.61% 0.1543 -0.1468)
OKLCHoklch(55.61% 0.213 316.4)
XYZxyz(26.4265, 14.7959, 53.6777)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BC4 #5DC43B
analogous
#5D3BC4 #A23BC4 #C43BA2
triadic
#A23BC4 #C4A23B #3BC4A2
tetradic
#A23BC4 #C45D3B #5DC43B #3BA2C4
square
#A23BC4 #C45D3B #5DC43B #3BA2C4
split-complementary
#A23BC4 #A2C43B #3BC45D
monochromatic
#541F66 #7B2D95 #A23BC4 #B86AD2 #CF99E0

Accessibility & contrast

On white

5.30
#A23BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A23BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BC4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BC4#FFFFFF#000000##FFFFFF
##A23BC41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#3C6EC1
Tritanopia (blue-blind)
#A0567B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23bc4;
/* rgb */ color: rgb(162, 59, 196);
/* oklch */ color: oklch(55.6% 0.213 316.4);
Tailwind
colors: {
  custom: {
    50: '#c17ad6',
    500: '#a23bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a23bc4;
$custom-light: #c17ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bc4",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 285.109,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.213,
    "h": 316.4
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#A23BC4
secondary
#9ECC8F
accent
#DD4B6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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