#A23DBC#A23DBC

#A23DBC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.203 H 318.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A23DBC
RGBrgb(162, 61, 188)
HSLhsl(288, 51%, 49%)
HSVhsv(288, 68%, 74%)
CMYKcmyk(13.8%, 67.6%, 0%, 26.3%)
CIE-LABlab(45.15, 59.50, -47.88)
CIE-LCHlch(45.15, 76.37, 321.18°)
OKLaboklab(55.31% 0.1527 -0.1341)
OKLCHoklch(55.31% 0.203 318.7)
XYZxyz(25.6449, 14.6509, 49.0443)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DBC #57BC3D
analogous
#633DBC #A23DBC #BC3D97
triadic
#A23DBC #BCA23D #3DBCA2
tetradic
#A23DBC #BC633D #57BC3D #3D97BC
square
#A23DBC #BC633D #57BC3D #3D97BC
split-complementary
#A23DBC #97BC3D #3DBC63
monochromatic
#521F60 #7A2E8E #A23DBC #B968CE #CF96DD

Accessibility & contrast

On white

5.34
#A23DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A23DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DBC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DBC#FFFFFF#000000##FFFFFF
##A23DBC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#A25478
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a23dbc;
/* rgb */ color: rgb(162, 61, 188);
/* oklch */ color: oklch(55.3% 0.203 318.7);
Tailwind
colors: {
  custom: {
    50: '#c17ad1',
    500: '#a23dbc',
    950: '#000000',
  },
}
SCSS
$custom: #a23dbc;
$custom-light: #c17ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dbc",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 287.717,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55307,
    "c": 0.20322,
    "h": 318.7
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#A23DBC
secondary
#99C98C
accent
#DA4D6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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