#9039B2#9039B2

#9039B2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.8% C 0.192 H 314.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9039B2
RGBrgb(144, 57, 178)
HSLhsl(283, 51%, 46%)
HSVhsv(283, 68%, 70%)
CMYKcmyk(19.1%, 68%, 0%, 30.2%)
CIE-LABlab(41.33, 55.16, -48.27)
CIE-LCHlch(41.33, 73.30, 318.81°)
OKLaboklab(51.83% 0.1354 -0.1358)
OKLCHoklch(51.83% 0.192 314.9)
XYZxyz(20.9993, 12.0706, 43.3345)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9039B2 #5BB239
analogous
#5339B2 #9039B2 #B23997
triadic
#9039B2 #B29039 #39B290
tetradic
#9039B2 #B25339 #5BB239 #3997B2
square
#9039B2 #B25339 #5BB239 #3997B2
split-complementary
#9039B2 #97B239 #39B253
monochromatic
#451B55 #6A2A84 #9039B2 #AC5DCB #C48BDA

Accessibility & contrast

On white

6.15
#9039B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9039B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9039B2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9039B2#FFFFFF#000000##FFFFFF
##9039B21.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#8D5171
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9039b2;
/* rgb */ color: rgb(144, 57, 178);
/* oklch */ color: oklch(51.8% 0.192 314.9);
Tailwind
colors: {
  custom: {
    50: '#b476ca',
    500: '#9039b2',
    950: '#000000',
  },
}
SCSS
$custom: #9039b2;
$custom-light: #b476ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9039b2",
  "rgb": {
    "r": 144,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 283.14,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.19176,
    "h": 314.9
  },
  "luminance": 0.1207
}

Semantic roles & 50–950 ramp

primary
#9039B2
secondary
#95C482
accent
#DB4D75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9039B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9039B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva