#A23EB7#A23EB7

#A23EB7 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.197 H 320.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A23EB7
RGBrgb(162, 62, 183)
HSLhsl(290, 49%, 48%)
HSVhsv(290, 66%, 72%)
CMYKcmyk(11.5%, 66.1%, 0%, 28.2%)
CIE-LABlab(45.01, 58.12, -45.18)
CIE-LCHlch(45.01, 73.62, 322.14°)
OKLaboklab(55.11% 0.1517 -0.1262)
OKLCHoklch(55.11% 0.197 320.2)
XYZxyz(25.1691, 14.5467, 46.2726)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EB7 #53B73E
analogous
#653EB7 #A23EB7 #B73E8F
triadic
#A23EB7 #B7A23E #3EB7A2
tetradic
#A23EB7 #B7653E #53B73E #3E8FB7
square
#A23EB7 #B7653E #53B73E #3E8FB7
split-complementary
#A23EB7 #8FB73E #3EB765
monochromatic
#511F5C #7A2F89 #A23EB7 #BA67CB #CF94DB

Accessibility & contrast

On white

5.37
#A23EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A23EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EB7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EB7#FFFFFF#000000##FFFFFF
##A23EB71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#496EB4
Tritanopia (blue-blind)
#A35375
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23eb7;
/* rgb */ color: rgb(162, 62, 183);
/* oklch */ color: oklch(55.1% 0.197 320.2);
Tailwind
colors: {
  custom: {
    50: '#c17bcd',
    500: '#a23eb7',
    950: '#000000',
  },
}
SCSS
$custom: #a23eb7;
$custom-light: #c17bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eb7",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 289.587,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.19736,
    "h": 320.2
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#A23EB7
secondary
#95C68A
accent
#D94F67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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