#9238AE#9238AE

#9238AE is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.190 H 317.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9238AE
RGBrgb(146, 56, 174)
HSLhsl(286, 51%, 45%)
HSVhsv(286, 68%, 68%)
CMYKcmyk(16.1%, 67.8%, 0%, 31.8%)
CIE-LABlab(41.21, 55.23, -46.08)
CIE-LCHlch(41.21, 71.93, 320.16°)
OKLaboklab(51.73% 0.1393 -0.1293)
OKLCHoklch(51.73% 0.19 317.1)
XYZxyz(20.9071, 11.9962, 41.2504)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9238AE #54AE38
analogous
#5738AE #9238AE #AE388F
triadic
#9238AE #AE9238 #38AE92
tetradic
#9238AE #AE5738 #54AE38 #388FAE
square
#9238AE #AE5738 #54AE38 #388FAE
split-complementary
#9238AE #8FAE38 #38AE57
monochromatic
#441A51 #6B2980 #9238AE #AF59CA #C588D9

Accessibility & contrast

On white

6.18
#9238AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9238AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9238AE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9238AE#FFFFFF#000000##FFFFFF
##9238AE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#914E6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9238ae;
/* rgb */ color: rgb(146, 56, 174);
/* oklch */ color: oklch(51.7% 0.190 317.1);
Tailwind
colors: {
  custom: {
    50: '#b576c7',
    500: '#9238ae',
    950: '#000000',
  },
}
SCSS
$custom: #9238ae;
$custom-light: #b576c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9238ae",
  "rgb": {
    "r": 146,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 285.763,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.19003,
    "h": 317.1
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#9238AE
secondary
#8FC37F
accent
#DB4D6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9238AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9238AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva