#A23EE2#A23EE2

#A23EE2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 58.0% C 0.237 H 308.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A23EE2
RGBrgb(162, 62, 226)
HSLhsl(277, 74%, 56%)
HSVhsv(277, 73%, 89%)
CMYKcmyk(28.3%, 72.6%, 0%, 11.4%)
CIE-LABlab(47.78, 66.85, -65.52)
CIE-LCHlch(47.78, 93.61, 315.57°)
OKLaboklab(57.96% 0.1477 -0.1859)
OKLCHoklch(57.96% 0.237 308.5)
XYZxyz(30.3476, 16.6181, 73.5457)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EE2 #7EE23E
analogous
#503EE2 #A23EE2 #E23ED0
triadic
#A23EE2 #E2A23E #3EE2A2
tetradic
#A23EE2 #E2503E #7EE23E #3ED0E2
square
#A23EE2 #E2503E #7EE23E #3ED0E2
split-complementary
#A23EE2 #D0E23E #3EE250
monochromatic
#601690 #841EC5 #A23EE2 #BC73EA #D5A8F2

Accessibility & contrast

On white

4.86
#A23EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A23EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EE2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EE2#FFFFFF#000000##FFFFFF
##A23EE21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0372DF
Tritanopia (blue-blind)
#98648D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a23ee2;
/* rgb */ color: rgb(162, 62, 226);
/* oklch */ color: oklch(58.0% 0.237 308.5);
Tailwind
colors: {
  custom: {
    50: '#c37cec',
    500: '#a23ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a23ee2;
$custom-light: #c37cec;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ee2",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 276.585,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.23739,
    "h": 308.5
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#A23EE2
secondary
#B7E09C
accent
#F13780
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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