#A23CB7#A23CB7

#A23CB7 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.9% C 0.200 H 320.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A23CB7
RGBrgb(162, 60, 183)
HSLhsl(290, 51%, 48%)
HSVhsv(290, 67%, 72%)
CMYKcmyk(11.5%, 67.2%, 0%, 28.2%)
CIE-LABlab(44.71, 58.96, -45.66)
CIE-LCHlch(44.71, 74.57, 322.24°)
OKLaboklab(54.89% 0.154 -0.1276)
OKLCHoklch(54.89% 0.2 320.3)
XYZxyz(25.0624, 14.3332, 46.2370)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CB7 #51B73C
analogous
#643CB7 #A23CB7 #B73C8E
triadic
#A23CB7 #B7A23C #3CB7A2
tetradic
#A23CB7 #B7643C #51B73C #3C8EB7
square
#A23CB7 #B7643C #51B73C #3C8EB7
split-complementary
#A23CB7 #8EB73C #3CB764
monochromatic
#501E5B #792D89 #A23CB7 #BA64CC #CF92DB

Accessibility & contrast

On white

5.43
#A23CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A23CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CB7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CB7#FFFFFF#000000##FFFFFF
##A23CB71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1163BB
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#A35275
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23cb7;
/* rgb */ color: rgb(162, 60, 183);
/* oklch */ color: oklch(54.9% 0.200 320.3);
Tailwind
colors: {
  custom: {
    50: '#c17acd',
    500: '#a23cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a23cb7;
$custom-light: #c17acd;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cb7",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 289.756,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.19998,
    "h": 320.3
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#A23CB7
secondary
#93C688
accent
#DA4E66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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