#9239B5#9239B5

#9239B5 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.195 H 314.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9239B5
RGBrgb(146, 57, 181)
HSLhsl(283, 52%, 47%)
HSVhsv(283, 69%, 71%)
CMYKcmyk(19.3%, 68.5%, 0%, 29%)
CIE-LABlab(41.80, 56.23, -49.26)
CIE-LCHlch(41.80, 74.76, 318.78°)
OKLaboklab(52.29% 0.1377 -0.1386)
OKLCHoklch(52.29% 0.195 314.8)
XYZxyz(21.6563, 12.3742, 44.9548)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9239B5 #5CB539
analogous
#5439B5 #9239B5 #B5399A
triadic
#9239B5 #B59239 #39B592
tetradic
#9239B5 #B55439 #5CB539 #399AB5
square
#9239B5 #B55439 #5CB539 #399AB5
split-complementary
#9239B5 #9AB539 #39B554
monochromatic
#471C58 #6C2A86 #9239B5 #AE5FCD #C58DDB

Accessibility & contrast

On white

6.04
#9239B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9239B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9239B5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9239B5#FFFFFF#000000##FFFFFF
##9239B51.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#8F5273
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9239b5;
/* rgb */ color: rgb(146, 57, 181);
/* oklch */ color: oklch(52.3% 0.195 314.8);
Tailwind
colors: {
  custom: {
    50: '#b676cc',
    500: '#9239b5',
    950: '#000000',
  },
}
SCSS
$custom: #9239b5;
$custom-light: #b676cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9239b5",
  "rgb": {
    "r": 146,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 283.065,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.19541,
    "h": 314.8
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#9239B5
secondary
#97C684
accent
#DC4C75
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9239B5

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

Preview Lab → · Contrast checker → · Palette generator →

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