#A23BC7#A23BC7

#A23BC7 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.216 H 315.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A23BC7
RGBrgb(162, 59, 199)
HSLhsl(284, 56%, 51%)
HSVhsv(284, 70%, 78%)
CMYKcmyk(18.6%, 70.4%, 0%, 22%)
CIE-LABlab(45.54, 62.48, -53.65)
CIE-LCHlch(45.54, 82.35, 319.35°)
OKLaboklab(55.81% 0.1541 -0.151)
OKLCHoklch(55.81% 0.216 315.6)
XYZxyz(26.7714, 14.9338, 55.4941)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BC7 #60C73B
analogous
#5C3BC7 #A23BC7 #C73BA6
triadic
#A23BC7 #C7A23B #3BC7A2
tetradic
#A23BC7 #C75C3B #60C73B #3BA6C7
square
#A23BC7 #C75C3B #60C73B #3BA6C7
split-complementary
#A23BC7 #A6C73B #3BC75C
monochromatic
#561E69 #7C2C99 #A23BC7 #B96BD5 #CF9AE2

Accessibility & contrast

On white

5.27
#A23BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A23BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BC7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BC7#FFFFFF#000000##FFFFFF
##A23BC71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#386FC4
Tritanopia (blue-blind)
#9F587D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23bc7;
/* rgb */ color: rgb(162, 59, 199);
/* oklch */ color: oklch(55.8% 0.216 315.6);
Tailwind
colors: {
  custom: {
    50: '#c27ad9',
    500: '#a23bc7',
    950: '#000000',
  },
}
SCSS
$custom: #a23bc7;
$custom-light: #c27ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bc7",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 284.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.21574,
    "h": 315.6
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#A23BC7
secondary
#A0CE90
accent
#DF4971
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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