#A23DB7#A23DB7

#A23DB7 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 55.0% C 0.199 H 320.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A23DB7
RGBrgb(162, 61, 183)
HSLhsl(290, 50%, 48%)
HSVhsv(290, 67%, 72%)
CMYKcmyk(11.5%, 66.7%, 0%, 28.2%)
CIE-LABlab(44.86, 58.54, -45.42)
CIE-LCHlch(44.86, 74.10, 322.19°)
OKLaboklab(55% 0.1528 -0.1269)
OKLCHoklch(55% 0.199 320.3)
XYZxyz(25.1152, 14.4390, 46.2546)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DB7 #52B73D
analogous
#653DB7 #A23DB7 #B73D8F
triadic
#A23DB7 #B7A23D #3DB7A2
tetradic
#A23DB7 #B7653D #52B73D #3D8FB7
square
#A23DB7 #B7653D #52B73D #3D8FB7
split-complementary
#A23DB7 #8FB73D #3DB765
monochromatic
#511E5B #792E89 #A23DB7 #BA65CC #CF93DB

Accessibility & contrast

On white

5.40
#A23DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A23DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DB7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DB7#FFFFFF#000000##FFFFFF
##A23DB71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BB
Deuteranopia (green-blind)
#486EB4
Tritanopia (blue-blind)
#A35275
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23db7;
/* rgb */ color: rgb(162, 61, 183);
/* oklch */ color: oklch(55.0% 0.199 320.3);
Tailwind
colors: {
  custom: {
    50: '#c17acd',
    500: '#a23db7',
    950: '#000000',
  },
}
SCSS
$custom: #a23db7;
$custom-light: #c17acd;
$custom-dark: #000000;
JSON
{
  "hex": "#a23db7",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 289.672,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.19868,
    "h": 320.3
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#A23DB7
secondary
#94C689
accent
#DA4E66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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