#A23BC2#A23BC2

#A23BC2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.211 H 317.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A23BC2
RGBrgb(162, 59, 194)
HSLhsl(286, 53%, 50%)
HSVhsv(286, 70%, 76%)
CMYKcmyk(16.5%, 69.6%, 0%, 23.9%)
CIE-LABlab(45.23, 61.49, -51.25)
CIE-LCHlch(45.23, 80.05, 320.19°)
OKLaboklab(55.48% 0.1545 -0.144)
OKLCHoklch(55.48% 0.211 317)
XYZxyz(26.2004, 14.7054, 52.4868)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BC2 #5BC23B
analogous
#5F3BC2 #A23BC2 #C23B9F
triadic
#A23BC2 #C2A23B #3BC2A2
tetradic
#A23BC2 #C25F3B #5BC23B #3B9FC2
square
#A23BC2 #C25F3B #5BC23B #3B9FC2
split-complementary
#A23BC2 #9FC23B #3BC25F
monochromatic
#541E64 #7B2D93 #A23BC2 #B969D1 #CF98E0

Accessibility & contrast

On white

5.33
#A23BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A23BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BC2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BC2#FFFFFF#000000##FFFFFF
##A23BC21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#3D6EBF
Tritanopia (blue-blind)
#A0567A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23bc2;
/* rgb */ color: rgb(162, 59, 194);
/* oklch */ color: oklch(55.5% 0.211 317.0);
Tailwind
colors: {
  custom: {
    50: '#c17ad5',
    500: '#a23bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a23bc2;
$custom-light: #c17ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bc2",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 285.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55479,
    "c": 0.21117,
    "h": 317
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#A23BC2
secondary
#9CCB8E
accent
#DD4B6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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