#A23698#A23698

#A23698 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.5% C 0.181 H 331.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A23698
RGBrgb(162, 54, 152)
HSLhsl(306, 50%, 42%)
HSVhsv(306, 67%, 64%)
CMYKcmyk(0%, 66.7%, 6.2%, 36.5%)
CIE-LABlab(42.14, 55.88, -31.30)
CIE-LCHlch(42.14, 64.05, 330.74°)
OKLaboklab(52.49% 0.1598 -0.0859)
OKLCHoklch(52.49% 0.181 331.7)
XYZxyz(21.8869, 12.5884, 30.9767)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23698 #36A240
analogous
#7636A2 #A23698 #A23662
triadic
#A23698 #98A236 #3698A2
tetradic
#A23698 #A27636 #36A240 #3662A2
square
#A23698 #A27636 #36A240 #3662A2
split-complementary
#A23698 #62A236 #36A276
monochromatic
#461742 #74276D #A23698 #C550BA #D47ECC

Accessibility & contrast

On white

5.97
#A23698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A23698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23698
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23698#FFFFFF#000000##FFFFFF
##A236981.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#A94162
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a23698;
/* rgb */ color: rgb(162, 54, 152);
/* oklch */ color: oklch(52.5% 0.181 331.7);
Tailwind
colors: {
  custom: {
    50: '#c176b6',
    500: '#a23698',
    950: '#000000',
  },
}
SCSS
$custom: #a23698;
$custom-light: #c176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23698",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 305.556,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.18145,
    "h": 331.7
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#A23698
secondary
#77BD7D
accent
#DA5B4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23698

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

Preview Lab → · Contrast checker → · Palette generator →

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