#A23EE3#A23EE3

#A23EE3 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.238 H 308.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A23EE3
RGBrgb(162, 62, 227)
HSLhsl(276, 75%, 57%)
HSVhsv(276, 73%, 89%)
CMYKcmyk(28.6%, 72.7%, 0%, 11%)
CIE-LABlab(47.85, 67.06, -65.98)
CIE-LCHlch(47.85, 94.08, 315.47°)
OKLaboklab(58.04% 0.1475 -0.1872)
OKLCHoklch(58.04% 0.238 308.2)
XYZxyz(30.4852, 16.6732, 74.2704)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EE3 #7FE33E
analogous
#503EE3 #A23EE3 #E33ED1
triadic
#A23EE3 #E3A23E #3EE3A2
tetradic
#A23EE3 #E3503E #7FE33E #3ED1E3
square
#A23EE3 #E3503E #7FE33E #3ED1E3
split-complementary
#A23EE3 #D1E33E #3EE350
monochromatic
#601591 #841DC7 #A23EE3 #BC73EB #D6A9F3

Accessibility & contrast

On white

4.84
#A23EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A23EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EE3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EE3#FFFFFF#000000##FFFFFF
##A23EE31.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#98658E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a23ee3;
/* rgb */ color: rgb(162, 62, 227);
/* oklch */ color: oklch(58.0% 0.238 308.2);
Tailwind
colors: {
  custom: {
    50: '#c37ced',
    500: '#a23ee3',
    950: '#000000',
  },
}
SCSS
$custom: #a23ee3;
$custom-light: #c37ced;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ee3",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 276.364,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.23834,
    "h": 308.2
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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