#A23EC7#A23EC7

#A23EC7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.212 H 315.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A23EC7
RGBrgb(162, 62, 199)
HSLhsl(284, 55%, 51%)
HSVhsv(284, 69%, 78%)
CMYKcmyk(18.6%, 68.8%, 0%, 22%)
CIE-LABlab(45.98, 61.26, -52.95)
CIE-LCHlch(45.98, 80.97, 319.16°)
OKLaboklab(56.11% 0.151 -0.149)
OKLCHoklch(56.11% 0.212 315.4)
XYZxyz(26.9301, 15.2511, 55.5469)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EC7 #63C73E
analogous
#5D3EC7 #A23EC7 #C73EA7
triadic
#A23EC7 #C7A23E #3EC7A2
tetradic
#A23EC7 #C75D3E #63C73E #3EA7C7
square
#A23EC7 #C75D3E #63C73E #3EA7C7
split-complementary
#A23EC7 #A7C73E #3EC75D
monochromatic
#571F6B #7D2D9B #A23EC7 #B96DD5 #D09DE3

Accessibility & contrast

On white

5.19
#A23EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A23EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EC7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EC7#FFFFFF#000000##FFFFFF
##A23EC71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#3B70C4
Tritanopia (blue-blind)
#9F597E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23ec7;
/* rgb */ color: rgb(162, 62, 199);
/* oklch */ color: oklch(56.1% 0.212 315.4);
Tailwind
colors: {
  custom: {
    50: '#c17bd9',
    500: '#a23ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a23ec7;
$custom-light: #c17bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ec7",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 283.796,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.21211,
    "h": 315.4
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#A23EC7
secondary
#A2CF92
accent
#DE4972
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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