#9238BD#9238BD

#9238BD is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.204 H 312.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9238BD
RGBrgb(146, 56, 189)
HSLhsl(281, 54%, 48%)
HSVhsv(281, 70%, 74%)
CMYKcmyk(22.8%, 70.4%, 0%, 25.9%)
CIE-LABlab(42.18, 58.32, -53.36)
CIE-LCHlch(42.18, 79.05, 317.54°)
OKLaboklab(52.73% 0.1381 -0.1507)
OKLCHoklch(52.73% 0.204 312.5)
XYZxyz(22.4519, 12.6141, 49.3863)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9238BD #63BD38
analogous
#5038BD #9238BD #BD38A5
triadic
#9238BD #BD9238 #38BD92
tetradic
#9238BD #BD5038 #63BD38 #38A5BD
square
#9238BD #BD5038 #63BD38 #38A5BD
split-complementary
#9238BD #A5BD38 #38BD50
monochromatic
#491C5F #6E2A8E #9238BD #AD62D0 #C591DE

Accessibility & contrast

On white

5.96
#9238BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9238BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9238BD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9238BD#FFFFFF#000000##FFFFFF
##9238BD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#8D5477
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9238bd;
/* rgb */ color: rgb(146, 56, 189);
/* oklch */ color: oklch(52.7% 0.204 312.5);
Tailwind
colors: {
  custom: {
    50: '#b676d2',
    500: '#9238bd',
    950: '#000000',
  },
}
SCSS
$custom: #9238bd;
$custom-light: #b676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9238bd",
  "rgb": {
    "r": 146,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 280.602,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.20434,
    "h": 312.5
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#9238BD
secondary
#9DC987
accent
#DE4A7A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9238BD

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

Preview Lab → · Contrast checker → · Palette generator →

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