#A23BC8#A23BC8

#A23BC8 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.217 H 315.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A23BC8
RGBrgb(162, 59, 200)
HSLhsl(284, 56%, 51%)
HSVhsv(284, 71%, 78%)
CMYKcmyk(19%, 70.5%, 0%, 21.6%)
CIE-LABlab(45.61, 62.68, -54.12)
CIE-LCHlch(45.61, 82.81, 319.19°)
OKLaboklab(55.87% 0.154 -0.1524)
OKLCHoklch(55.87% 0.217 315.3)
XYZxyz(26.8879, 14.9804, 56.1075)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BC8 #61C83B
analogous
#5B3BC8 #A23BC8 #C83BA7
triadic
#A23BC8 #C8A23B #3BC8A2
tetradic
#A23BC8 #C85B3B #61C83B #3BA7C8
square
#A23BC8 #C85B3B #61C83B #3BA7C8
split-complementary
#A23BC8 #A7C83B #3BC85B
monochromatic
#561E6B #7D2B9A #A23BC8 #B96BD5 #CF9BE3

Accessibility & contrast

On white

5.26
#A23BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A23BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BC8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BC8#FFFFFF#000000##FFFFFF
##A23BC81.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#9F587E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23bc8;
/* rgb */ color: rgb(162, 59, 200);
/* oklch */ color: oklch(55.9% 0.217 315.3);
Tailwind
colors: {
  custom: {
    50: '#c27ad9',
    500: '#a23bc8',
    950: '#000000',
  },
}
SCSS
$custom: #a23bc8;
$custom-light: #c27ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bc8",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 283.83,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.21665,
    "h": 315.3
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#A23BC8
secondary
#A1CF90
accent
#DF4871
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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