#A23ED8#A23ED8

#A23ED8 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.3% C 0.228 H 310.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A23ED8
RGBrgb(162, 62, 216)
HSLhsl(279, 66%, 55%)
HSVhsv(279, 71%, 85%)
CMYKcmyk(25%, 71.3%, 0%, 15.3%)
CIE-LABlab(47.09, 64.74, -60.94)
CIE-LCHlch(47.09, 88.91, 316.73°)
OKLaboklab(57.26% 0.1492 -0.1724)
OKLCHoklch(57.26% 0.228 310.9)
XYZxyz(29.0152, 16.0852, 66.5287)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ED8 #74D83E
analogous
#553ED8 #A23ED8 #D83EC1
triadic
#A23ED8 #D8A23E #3ED8A2
tetradic
#A23ED8 #D8553E #74D83E #3EC1D8
square
#A23ED8 #D8553E #74D83E #3EC1D8
split-complementary
#A23ED8 #C1D83E #3ED855
monochromatic
#5D1A81 #8224B4 #A23ED8 #BB71E2 #D3A4ED

Accessibility & contrast

On white

4.98
#A23ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A23ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ED8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ED8#FFFFFF#000000##FFFFFF
##A23ED81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#2471D5
Tritanopia (blue-blind)
#9B6087
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a23ed8;
/* rgb */ color: rgb(162, 62, 216);
/* oklch */ color: oklch(57.3% 0.228 310.9);
Tailwind
colors: {
  custom: {
    50: '#c27ce5',
    500: '#a23ed8',
    950: '#000000',
  },
}
SCSS
$custom: #a23ed8;
$custom-light: #c27ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ed8",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 278.961,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.22799,
    "h": 310.9
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#A23ED8
secondary
#AFD998
accent
#E93E7A
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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