#A23098#A23098

#A23098 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.189 H 331.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A23098
RGBrgb(162, 48, 152)
HSLhsl(305, 54%, 41%)
HSVhsv(305, 70%, 64%)
CMYKcmyk(0%, 70.4%, 6.2%, 36.5%)
CIE-LABlab(41.32, 58.18, -32.59)
CIE-LCHlch(41.32, 66.69, 330.74°)
OKLaboklab(51.9% 0.1665 -0.0896)
OKLCHoklch(51.9% 0.189 331.7)
XYZxyz(21.6247, 12.0640, 30.8893)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23098 #30A23A
analogous
#7330A2 #A23098 #A2305F
triadic
#A23098 #98A230 #3098A2
tetradic
#A23098 #A27330 #30A23A #305FA2
square
#A23098 #A27330 #30A23A #305FA2
split-complementary
#A23098 #5FA230 #30A273
monochromatic
#44143F #73226C #A23098 #C847BD #D676CE

Accessibility & contrast

On white

6.15
#A23098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23098
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23098#FFFFFF#000000##FFFFFF
##A230981.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#A93C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a23098;
/* rgb */ color: rgb(162, 48, 152);
/* oklch */ color: oklch(51.9% 0.189 331.7);
Tailwind
colors: {
  custom: {
    50: '#c173b6',
    500: '#a23098',
    950: '#000000',
  },
}
SCSS
$custom: #a23098;
$custom-light: #c173b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23098",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 305.263,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.18905,
    "h": 331.7
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#A23098
secondary
#6FBE76
accent
#DE574A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23098

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

Preview Lab → · Contrast checker → · Palette generator →

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