#A23BCA#A23BCA

#A23BCA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.218 H 314.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A23BCA
RGBrgb(162, 59, 202)
HSLhsl(283, 57%, 51%)
HSVhsv(283, 71%, 79%)
CMYKcmyk(19.8%, 70.8%, 0%, 20.8%)
CIE-LABlab(45.74, 63.08, -55.07)
CIE-LCHlch(45.74, 83.74, 318.88°)
OKLaboklab(56% 0.1538 -0.1552)
OKLCHoklch(56% 0.218 314.7)
XYZxyz(27.1232, 15.0745, 57.3466)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BCA #63CA3B
analogous
#5A3BCA #A23BCA #CA3BAA
triadic
#A23BCA #CAA23B #3BCAA2
tetradic
#A23BCA #CA5A3B #63CA3B #3BAACA
square
#A23BCA #CA5A3B #63CA3B #3BAACA
split-complementary
#A23BCA #AACA3B #3BCA5A
monochromatic
#571E6D #7D2B9D #A23BCA #B96BD7 #D09BE4

Accessibility & contrast

On white

5.23
#A23BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A23BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BCA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BCA#FFFFFF#000000##FFFFFF
##A23BCA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#9F597F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23bca;
/* rgb */ color: rgb(162, 59, 202);
/* oklch */ color: oklch(56.0% 0.218 314.7);
Tailwind
colors: {
  custom: {
    50: '#c27adb',
    500: '#a23bca',
    950: '#000000',
  },
}
SCSS
$custom: #a23bca;
$custom-light: #c27adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bca",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 283.217,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.21848,
    "h": 314.7
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#A23BCA
secondary
#A2D091
accent
#E14772
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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