#A23ED9#A23ED9

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

Color values

HEX#A23ED9
RGBrgb(162, 62, 217)
HSLhsl(279, 67%, 55%)
HSVhsv(279, 71%, 85%)
CMYKcmyk(25.3%, 71.4%, 0%, 14.9%)
CIE-LABlab(47.15, 64.95, -61.40)
CIE-LCHlch(47.15, 89.38, 316.61°)
OKLaboklab(57.33% 0.149 -0.1738)
OKLCHoklch(57.33% 0.229 310.6)
XYZxyz(29.1449, 16.1371, 67.2116)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ED9 #75D93E
analogous
#553ED9 #A23ED9 #D93EC2
triadic
#A23ED9 #D9A23E #3ED9A2
tetradic
#A23ED9 #D9553E #75D93E #3EC2D9
square
#A23ED9 #D9553E #75D93E #3EC2D9
split-complementary
#A23ED9 #C2D93E #3ED955
monochromatic
#5E1A83 #8224B6 #A23ED9 #BB71E3 #D3A4ED

Accessibility & contrast

On white

4.97
#A23ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A23ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ED9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ED9#FFFFFF#000000##FFFFFF
##A23ED91.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#2271D6
Tritanopia (blue-blind)
#9B6188
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a23ed9;
/* rgb */ color: rgb(162, 62, 217);
/* oklch */ color: oklch(57.3% 0.229 310.6);
Tailwind
colors: {
  custom: {
    50: '#c27ce6',
    500: '#a23ed9',
    950: '#000000',
  },
}
SCSS
$custom: #a23ed9;
$custom-light: #c27ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ed9",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 278.71,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.22894,
    "h": 310.6
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

primary
#A23ED9
secondary
#B0DA99
accent
#EA3E7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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