#A23DA7#A23DA7

#A23DA7 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.184 H 325.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A23DA7
RGBrgb(162, 61, 167)
HSLhsl(297, 46%, 45%)
HSVhsv(297, 63%, 65%)
CMYKcmyk(3%, 63.5%, 0%, 34.5%)
CIE-LABlab(43.96, 55.57, -37.40)
CIE-LCHlch(43.96, 66.98, 326.05°)
OKLaboklab(54.06% 0.1526 -0.1036)
OKLCHoklch(54.06% 0.184 325.8)
XYZxyz(23.5436, 13.8103, 37.9773)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DA7 #42A73D
analogous
#6D3DA7 #A23DA7 #A73D77
triadic
#A23DA7 #A7A23D #3DA7A2
tetradic
#A23DA7 #A76D3D #42A73D #3D77A7
square
#A23DA7 #A76D3D #42A73D #3D77A7
split-complementary
#A23DA7 #77A73D #3DA76D
monochromatic
#4B1C4D #772D7A #A23DA7 #BF5DC4 #D18AD4

Accessibility & contrast

On white

5.58
#A23DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A23DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DA7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DA7#FFFFFF#000000##FFFFFF
##A23DA71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AA
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#A64C6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23da7;
/* rgb */ color: rgb(162, 61, 167);
/* oklch */ color: oklch(54.1% 0.184 325.8);
Tailwind
colors: {
  custom: {
    50: '#c07ac1',
    500: '#a23da7',
    950: '#000000',
  },
}
SCSS
$custom: #a23da7;
$custom-light: #c07ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23da7",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 297.17,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.18444,
    "h": 325.8
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#A23DA7
secondary
#84BF81
accent
#D65258
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A23DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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