#A23398#A23398

#A23398 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.185 H 331.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A23398
RGBrgb(162, 51, 152)
HSLhsl(305, 52%, 42%)
HSVhsv(305, 69%, 64%)
CMYKcmyk(0%, 68.5%, 6.2%, 36.5%)
CIE-LABlab(41.72, 57.06, -31.96)
CIE-LCHlch(41.72, 65.40, 330.74°)
OKLaboklab(52.18% 0.1632 -0.0878)
OKLCHoklch(52.18% 0.185 331.7)
XYZxyz(21.7516, 12.3177, 30.9316)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23398 #33A23D
analogous
#7533A2 #A23398 #A23361
triadic
#A23398 #98A233 #3398A2
tetradic
#A23398 #A27533 #33A23D #3361A2
square
#A23398 #A27533 #33A23D #3361A2
split-complementary
#A23398 #61A233 #33A275
monochromatic
#451641 #73246C #A23398 #C74CBB #D57ACD

Accessibility & contrast

On white

6.06
#A23398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A23398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23398
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23398#FFFFFF#000000##FFFFFF
##A233981.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#A93E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23398;
/* rgb */ color: rgb(162, 51, 152);
/* oklch */ color: oklch(52.2% 0.185 331.7);
Tailwind
colors: {
  custom: {
    50: '#c174b6',
    500: '#a23398',
    950: '#000000',
  },
}
SCSS
$custom: #a23398;
$custom-light: #c174b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23398",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 305.405,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.18533,
    "h": 331.7
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#A23398
secondary
#73BE7A
accent
#DC594C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23398

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

Preview Lab → · Contrast checker → · Palette generator →

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