#9239BD#9239BD

#9239BD is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.8% C 0.203 H 312.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9239BD
RGBrgb(146, 57, 189)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 74%)
CMYKcmyk(22.8%, 69.8%, 0%, 25.9%)
CIE-LABlab(42.33, 57.90, -53.12)
CIE-LCHlch(42.33, 78.58, 317.47°)
OKLaboklab(52.83% 0.137 -0.1499)
OKLCHoklch(52.83% 0.203 312.4)
XYZxyz(22.5008, 12.7120, 49.4026)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239BD #64BD39
analogous
#5039BD #9239BD #BD39A6
triadic
#9239BD #BD9239 #39BD92
tetradic
#9239BD #BD5039 #64BD39 #39A6BD
square
#9239BD #BD5039 #64BD39 #39A6BD
split-complementary
#9239BD #A6BD39 #39BD50
monochromatic
#491D5F #6E2B8E #9239BD #AD63D0 #C592DE

Accessibility & contrast

On white

5.93
#9239BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9239BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239BD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239BD#FFFFFF#000000##FFFFFF
##9239BD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9239bd;
/* rgb */ color: rgb(146, 57, 189);
/* oklch */ color: oklch(52.8% 0.203 312.4);
Tailwind
colors: {
  custom: {
    50: '#b677d2',
    500: '#9239bd',
    950: '#000000',
  },
}
SCSS
$custom: #9239bd;
$custom-light: #b677d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9239bd",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 280.455,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.20311,
    "h": 312.4
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#9239BD
secondary
#9EC989
accent
#DD4B7A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9239BD

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

Preview Lab → · Contrast checker → · Palette generator →

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