#A23FAF#A23FAF

#A23FAF is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.189 H 322.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A23FAF
RGBrgb(162, 63, 175)
HSLhsl(293, 47%, 47%)
HSVhsv(293, 64%, 69%)
CMYKcmyk(7.4%, 64%, 0%, 31.4%)
CIE-LABlab(44.71, 56.17, -40.96)
CIE-LCHlch(44.71, 69.52, 323.90°)
OKLaboklab(54.74% 0.1505 -0.1139)
OKLCHoklch(54.74% 0.189 322.9)
XYZxyz(24.4149, 14.3329, 42.0296)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FAF #4CAF3F
analogous
#6A3FAF #A23FAF #AF3F84
triadic
#A23FAF #AFA23F #3FAFA2
tetradic
#A23FAF #AF6A3F #4CAF3F #3F84AF
square
#A23FAF #AF6A3F #4CAF3F #3F84AF
split-complementary
#A23FAF #84AF3F #3FAF6A
monochromatic
#4F1F55 #782F82 #A23FAF #BC64C7 #CF91D7

Accessibility & contrast

On white

5.43
#A23FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A23FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FAF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FAF#FFFFFF#000000##FFFFFF
##A23FAF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#A45071
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a23faf;
/* rgb */ color: rgb(162, 63, 175);
/* oklch */ color: oklch(54.7% 0.189 322.9);
Tailwind
colors: {
  custom: {
    50: '#c17bc7',
    500: '#a23faf',
    950: '#000000',
  },
}
SCSS
$custom: #a23faf;
$custom-light: #c17bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23faf",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 293.036,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.18878,
    "h": 322.9
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#A23FAF
secondary
#8EC387
accent
#D75161
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A23FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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