#A23DB3#A23DB3

#A23DB3 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.195 H 321.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A23DB3
RGBrgb(162, 61, 179)
HSLhsl(291, 49%, 47%)
HSVhsv(291, 66%, 70%)
CMYKcmyk(9.5%, 65.9%, 0%, 29.8%)
CIE-LABlab(44.62, 57.78, -43.44)
CIE-LCHlch(44.62, 72.29, 323.06°)
OKLaboklab(54.76% 0.1529 -0.1212)
OKLCHoklch(54.76% 0.195 321.6)
XYZxyz(24.7048, 14.2748, 44.0931)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DB3 #4EB33D
analogous
#673DB3 #A23DB3 #B33D89
triadic
#A23DB3 #B3A23D #3DB3A2
tetradic
#A23DB3 #B3673D #4EB33D #3D89B3
square
#A23DB3 #B3673D #4EB33D #3D89B3
split-complementary
#A23DB3 #89B33D #3DB367
monochromatic
#4F1E58 #792D85 #A23DB3 #BB63CA #CF91D9

Accessibility & contrast

On white

5.45
#A23DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A23DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DB3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DB3#FFFFFF#000000##FFFFFF
##A23DB31.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#A45173
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23db3;
/* rgb */ color: rgb(162, 61, 179);
/* oklch */ color: oklch(54.8% 0.195 321.6);
Tailwind
colors: {
  custom: {
    50: '#c17aca',
    500: '#a23db3',
    950: '#000000',
  },
}
SCSS
$custom: #a23db3;
$custom-light: #c17aca;
$custom-dark: #000000;
JSON
{
  "hex": "#a23db3",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 291.356,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.19507,
    "h": 321.6
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#A23DB3
secondary
#90C587
accent
#D94F63
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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