#A23EE1#A23EE1

#A23EE1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.9% C 0.236 H 308.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A23EE1
RGBrgb(162, 62, 225)
HSLhsl(277, 73%, 56%)
HSVhsv(277, 72%, 88%)
CMYKcmyk(28%, 72.4%, 0%, 11.8%)
CIE-LABlab(47.71, 66.64, -65.07)
CIE-LCHlch(47.71, 93.14, 315.68°)
OKLaboklab(57.89% 0.1478 -0.1845)
OKLCHoklch(57.89% 0.236 308.7)
XYZxyz(30.2107, 16.5634, 72.8251)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EE1 #7DE13E
analogous
#513EE1 #A23EE1 #E13ECE
triadic
#A23EE1 #E1A23E #3EE1A2
tetradic
#A23EE1 #E1513E #7DE13E #3ECEE1
square
#A23EE1 #E1513E #7DE13E #3ECEE1
split-complementary
#A23EE1 #CEE13E #3EE151
monochromatic
#60168E #841EC3 #A23EE1 #BC73E9 #D5A8F1

Accessibility & contrast

On white

4.87
#A23EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A23EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EE1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EE1#FFFFFF#000000##FFFFFF
##A23EE11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0872DE
Tritanopia (blue-blind)
#98648C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a23ee1;
/* rgb */ color: rgb(162, 62, 225);
/* oklch */ color: oklch(57.9% 0.236 308.7);
Tailwind
colors: {
  custom: {
    50: '#c37ceb',
    500: '#a23ee1',
    950: '#000000',
  },
}
SCSS
$custom: #a23ee1;
$custom-light: #c37ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ee1",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 225
  },
  "hsl": {
    "h": 276.81,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.23645,
    "h": 308.7
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#A23EE1
secondary
#B6DF9C
accent
#F0387F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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