#A23598#A23598

#A23598 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.183 H 331.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A23598
RGBrgb(162, 53, 152)
HSLhsl(306, 51%, 42%)
HSVhsv(306, 67%, 64%)
CMYKcmyk(0%, 67.3%, 6.2%, 36.5%)
CIE-LABlab(41.99, 56.28, -31.53)
CIE-LCHlch(41.99, 64.51, 330.74°)
OKLaboklab(52.39% 0.161 -0.0865)
OKLCHoklch(52.39% 0.183 331.7)
XYZxyz(21.8409, 12.4963, 30.9614)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23598 #35A23F
analogous
#7635A2 #A23598 #A23561
triadic
#A23598 #98A235 #3598A2
tetradic
#A23598 #A27635 #35A23F #3561A2
square
#A23598 #A27635 #35A23F #3561A2
split-complementary
#A23598 #61A235 #35A276
monochromatic
#461741 #74266D #A23598 #C54FBA #D47DCC

Accessibility & contrast

On white

6.00
#A23598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A23598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23598
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23598#FFFFFF#000000##FFFFFF
##A235981.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#556995
Tritanopia (blue-blind)
#A94062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a23598;
/* rgb */ color: rgb(162, 53, 152);
/* oklch */ color: oklch(52.4% 0.183 331.7);
Tailwind
colors: {
  custom: {
    50: '#c175b6',
    500: '#a23598',
    950: '#000000',
  },
}
SCSS
$custom: #a23598;
$custom-light: #c175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23598",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 305.505,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.18276,
    "h": 331.7
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#A23598
secondary
#75BD7C
accent
#DA5B4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23598

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

Preview Lab → · Contrast checker → · Palette generator →

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