#9038B2#9038B2

#9038B2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.193 H 315.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9038B2
RGBrgb(144, 56, 178)
HSLhsl(283, 52%, 46%)
HSVhsv(283, 69%, 70%)
CMYKcmyk(19.1%, 68.5%, 0%, 30.2%)
CIE-LABlab(41.17, 55.60, -48.52)
CIE-LCHlch(41.17, 73.79, 318.89°)
OKLaboklab(51.72% 0.1365 -0.1365)
OKLCHoklch(51.72% 0.193 315)
XYZxyz(20.9504, 11.9727, 43.3182)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038B2 #5AB238
analogous
#5338B2 #9038B2 #B23897
triadic
#9038B2 #B29038 #38B290
tetradic
#9038B2 #B25338 #5AB238 #3897B2
square
#9038B2 #B25338 #5AB238 #3897B2
split-complementary
#9038B2 #97B238 #38B253
monochromatic
#451B55 #6A2983 #9038B2 #AC5CCC #C48ADA

Accessibility & contrast

On white

6.19
#9038B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9038B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038B2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038B2#FFFFFF#000000##FFFFFF
##9038B21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3563AF
Tritanopia (blue-blind)
#8D5071
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9038b2;
/* rgb */ color: rgb(144, 56, 178);
/* oklch */ color: oklch(51.7% 0.193 315.0);
Tailwind
colors: {
  custom: {
    50: '#b476ca',
    500: '#9038b2',
    950: '#000000',
  },
}
SCSS
$custom: #9038b2;
$custom-light: #b476ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9038b2",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 283.279,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.19306,
    "h": 315
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#9038B2
secondary
#94C581
accent
#DC4C74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9038B2

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

Preview Lab → · Contrast checker → · Palette generator →

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