#A23DC7#A23DC7

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

Color values

HEX#A23DC7
RGBrgb(162, 61, 199)
HSLhsl(284, 55%, 51%)
HSVhsv(284, 69%, 78%)
CMYKcmyk(18.6%, 69.3%, 0%, 22%)
CIE-LABlab(45.83, 61.67, -53.19)
CIE-LCHlch(45.83, 81.44, 319.23°)
OKLaboklab(56.01% 0.152 -0.1497)
OKLCHoklch(56.01% 0.213 315.5)
XYZxyz(26.8762, 15.1434, 55.5290)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DC7 #62C73D
analogous
#5D3DC7 #A23DC7 #C73DA7
triadic
#A23DC7 #C7A23D #3DC7A2
tetradic
#A23DC7 #C75D3D #62C73D #3DA7C7
square
#A23DC7 #C75D3D #62C73D #3DA7C7
split-complementary
#A23DC7 #A7C73D #3DC75D
monochromatic
#561F6B #7D2D9A #A23DC7 #B96CD5 #D09CE2

Accessibility & contrast

On white

5.21
#A23DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A23DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DC7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DC7#FFFFFF#000000##FFFFFF
##A23DC71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#3A6FC4
Tritanopia (blue-blind)
#9F597E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23dc7;
/* rgb */ color: rgb(162, 61, 199);
/* oklch */ color: oklch(56.0% 0.213 315.5);
Tailwind
colors: {
  custom: {
    50: '#c17bd9',
    500: '#a23dc7',
    950: '#000000',
  },
}
SCSS
$custom: #a23dc7;
$custom-light: #c17bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dc7",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 283.913,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.21333,
    "h": 315.5
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#A23DC7
secondary
#A2CE91
accent
#DF4971
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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