#A23498#A23498

#A23498 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.184 H 331.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A23498
RGBrgb(162, 52, 152)
HSLhsl(305, 51%, 42%)
HSVhsv(305, 68%, 64%)
CMYKcmyk(0%, 67.9%, 6.2%, 36.5%)
CIE-LABlab(41.85, 56.67, -31.75)
CIE-LCHlch(41.85, 64.96, 330.74°)
OKLaboklab(52.28% 0.1621 -0.0872)
OKLCHoklch(52.28% 0.184 331.7)
XYZxyz(21.7958, 12.4060, 30.9463)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23498 #34A23E
analogous
#7534A2 #A23498 #A23461
triadic
#A23498 #98A234 #3498A2
tetradic
#A23498 #A27534 #34A23E #3461A2
square
#A23498 #A27534 #34A23E #3461A2
split-complementary
#A23498 #61A234 #34A275
monochromatic
#451641 #74256D #A23498 #C64DBB #D57CCD

Accessibility & contrast

On white

6.03
#A23498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A23498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23498
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23498#FFFFFF#000000##FFFFFF
##A234981.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#A93F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a23498;
/* rgb */ color: rgb(162, 52, 152);
/* oklch */ color: oklch(52.3% 0.184 331.7);
Tailwind
colors: {
  custom: {
    50: '#c175b6',
    500: '#a23498',
    950: '#000000',
  },
}
SCSS
$custom: #a23498;
$custom-light: #c175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23498",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 305.455,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.18406,
    "h": 331.7
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#A23498
secondary
#74BE7B
accent
#DB5A4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23498

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

Preview Lab → · Contrast checker → · Palette generator →

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