#A23BAF#A23BAF

#A23BAF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.194 H 323.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A23BAF
RGBrgb(162, 59, 175)
HSLhsl(293, 50%, 46%)
HSVhsv(293, 66%, 69%)
CMYKcmyk(7.4%, 66.3%, 0%, 31.4%)
CIE-LABlab(44.10, 57.87, -41.92)
CIE-LCHlch(44.10, 71.46, 324.08°)
OKLaboklab(54.3% 0.1552 -0.1167)
OKLCHoklch(54.3% 0.194 323)
XYZxyz(24.2014, 13.9058, 41.9585)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BAF #48AF3B
analogous
#683BAF #A23BAF #AF3B82
triadic
#A23BAF #AFA23B #3BAFA2
tetradic
#A23BAF #AF683B #48AF3B #3B82AF
square
#A23BAF #AF683B #48AF3B #3B82AF
split-complementary
#A23BAF #82AF3B #3BAF68
monochromatic
#4D1C53 #782C81 #A23BAF #BD5EC9 #D08CD8

Accessibility & contrast

On white

5.55
#A23BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A23BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BAF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BAF#FFFFFF#000000##FFFFFF
##A23BAF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B2
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#A44E70
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a23baf;
/* rgb */ color: rgb(162, 59, 175);
/* oklch */ color: oklch(54.3% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#c179c7',
    500: '#a23baf',
    950: '#000000',
  },
}
SCSS
$custom: #a23baf;
$custom-light: #c179c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23baf",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 293.276,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.19415,
    "h": 323
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#A23BAF
secondary
#8AC383
accent
#D94F5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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