#A23BCC#A23BCC

#A23BCC is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.220 H 314.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A23BCC
RGBrgb(162, 59, 204)
HSLhsl(283, 59%, 52%)
HSVhsv(283, 71%, 80%)
CMYKcmyk(20.6%, 71.1%, 0%, 20%)
CIE-LABlab(45.87, 63.48, -56.02)
CIE-LCHlch(45.87, 84.66, 318.57°)
OKLaboklab(56.14% 0.1536 -0.1579)
OKLCHoklch(56.14% 0.22 314.2)
XYZxyz(27.3615, 15.1699, 58.6018)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BCC #65CC3B
analogous
#5A3BCC #A23BCC #CC3BAD
triadic
#A23BCC #CCA23B #3BCCA2
tetradic
#A23BCC #CC5A3B #65CC3B #3BADCC
square
#A23BCC #CC5A3B #65CC3B #3BADCC
split-complementary
#A23BCC #ADCC3B #3BCC5A
monochromatic
#581D70 #7E2AA0 #A23BCC #B96CD9 #D09CE5

Accessibility & contrast

On white

5.21
#A23BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A23BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BCC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BCC#FFFFFF#000000##FFFFFF
##A23BCC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#336FC9
Tritanopia (blue-blind)
#9E5A80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23bcc;
/* rgb */ color: rgb(162, 59, 204);
/* oklch */ color: oklch(56.1% 0.220 314.2);
Tailwind
colors: {
  custom: {
    50: '#c27adc',
    500: '#a23bcc',
    950: '#000000',
  },
}
SCSS
$custom: #a23bcc;
$custom-light: #c27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bcc",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 282.621,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.22031,
    "h": 314.2
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#A23BCC
secondary
#A4D192
accent
#E24673
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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