#A23ED6#A23ED6

#A23ED6 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.226 H 311.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A23ED6
RGBrgb(162, 62, 214)
HSLhsl(279, 65%, 54%)
HSVhsv(279, 71%, 84%)
CMYKcmyk(24.3%, 71%, 0%, 16.1%)
CIE-LABlab(46.95, 64.33, -60.02)
CIE-LCHlch(46.95, 87.98, 316.99°)
OKLaboklab(57.12% 0.1494 -0.1697)
OKLCHoklch(57.12% 0.226 311.4)
XYZxyz(28.7582, 15.9824, 65.1753)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ED6 #72D63E
analogous
#563ED6 #A23ED6 #D63EBE
triadic
#A23ED6 #D6A23E #3ED6A2
tetradic
#A23ED6 #D6563E #72D63E #3EBED6
square
#A23ED6 #D6563E #72D63E #3EBED6
split-complementary
#A23ED6 #BED63E #3ED656
monochromatic
#5D1B7F #8126B1 #A23ED6 #BA70E1 #D3A3EB

Accessibility & contrast

On white

5.00
#A23ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A23ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ED6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ED6#FFFFFF#000000##FFFFFF
##A23ED61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#2871D3
Tritanopia (blue-blind)
#9B6086
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23ed6;
/* rgb */ color: rgb(162, 62, 214);
/* oklch */ color: oklch(57.1% 0.226 311.4);
Tailwind
colors: {
  custom: {
    50: '#c27ce3',
    500: '#a23ed6',
    950: '#000000',
  },
}
SCSS
$custom: #a23ed6;
$custom-light: #c27ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ed6",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 279.474,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.22612,
    "h": 311.4
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#A23ED6
secondary
#AED898
accent
#E84079
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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