#A238AE#A238AE

#A238AE is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.197 H 323.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A238AE
RGBrgb(162, 56, 174)
HSLhsl(294, 51%, 45%)
HSVhsv(294, 68%, 68%)
CMYKcmyk(6.9%, 67.8%, 0%, 31.8%)
CIE-LABlab(43.61, 58.91, -42.12)
CIE-LCHlch(43.61, 72.41, 324.44°)
OKLaboklab(53.93% 0.1585 -0.1173)
OKLCHoklch(53.93% 0.197 323.5)
XYZxyz(23.9537, 13.5671, 41.3932)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A238AE #44AE38
analogous
#6738AE #A238AE #AE387F
triadic
#A238AE #AEA238 #38AEA2
tetradic
#A238AE #AE6738 #44AE38 #387FAE
square
#A238AE #AE6738 #44AE38 #387FAE
split-complementary
#A238AE #7FAE38 #38AE67
monochromatic
#4C1A51 #772980 #A238AE #BE59CA #D088D9

Accessibility & contrast

On white

5.66
#A238AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A238AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A238AE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A238AE#FFFFFF#000000##FFFFFF
##A238AE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#A54B6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a238ae;
/* rgb */ color: rgb(162, 56, 174);
/* oklch */ color: oklch(53.9% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#c177c7',
    500: '#a238ae',
    950: '#000000',
  },
}
SCSS
$custom: #a238ae;
$custom-light: #c177c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a238ae",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 293.898,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53932,
    "c": 0.19714,
    "h": 323.5
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#A238AE
secondary
#86C37F
accent
#DB4D5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A238AE

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

Preview Lab → · Contrast checker → · Palette generator →

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