#A23097#A23097

#A23097 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.188 H 332.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A23097
RGBrgb(162, 48, 151)
HSLhsl(306, 54%, 41%)
HSVhsv(306, 70%, 64%)
CMYKcmyk(0%, 70.4%, 6.8%, 36.5%)
CIE-LABlab(41.27, 58.02, -32.07)
CIE-LCHlch(41.27, 66.29, 331.07°)
OKLaboklab(51.84% 0.1664 -0.0881)
OKLCHoklch(51.84% 0.188 332.1)
XYZxyz(21.5432, 12.0314, 30.4598)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23097 #30A23B
analogous
#7430A2 #A23097 #A2305E
triadic
#A23097 #97A230 #3097A2
tetradic
#A23097 #A27430 #30A23B #305EA2
square
#A23097 #A27430 #30A23B #305EA2
split-complementary
#A23097 #5EA230 #30A274
monochromatic
#44143F #73226B #A23097 #C847BC #D676CD

Accessibility & contrast

On white

6.17
#A23097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A23097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23097
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23097#FFFFFF#000000##FFFFFF
##A230971.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#A93C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a23097;
/* rgb */ color: rgb(162, 48, 151);
/* oklch */ color: oklch(51.8% 0.188 332.1);
Tailwind
colors: {
  custom: {
    50: '#c173b6',
    500: '#a23097',
    950: '#000000',
  },
}
SCSS
$custom: #a23097;
$custom-light: #c173b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23097",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 305.789,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.18828,
    "h": 332.1
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#A23097
secondary
#6FBE77
accent
#DE584A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23097

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

Preview Lab → · Contrast checker → · Palette generator →

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