#9038BB#9038BB

#9038BB is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.202 H 312.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9038BB
RGBrgb(144, 56, 187)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 73%)
CMYKcmyk(23%, 70.1%, 0%, 26.7%)
CIE-LABlab(41.76, 57.48, -52.87)
CIE-LCHlch(41.76, 78.10, 317.39°)
OKLaboklab(52.33% 0.1357 -0.1493)
OKLCHoklch(52.33% 0.202 312.3)
XYZxyz(21.8838, 12.3461, 48.2343)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038BB #63BB38
analogous
#4E38BB #9038BB #BB38A5
triadic
#9038BB #BB9038 #38BB90
tetradic
#9038BB #BB4E38 #63BB38 #38A5BB
square
#9038BB #BB4E38 #63BB38 #38A5BB
split-complementary
#9038BB #A5BB38 #38BB4E
monochromatic
#471C5D #6C2A8C #9038BB #AB61D0 #C490DE

Accessibility & contrast

On white

6.05
#9038BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9038BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038BB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038BB#FFFFFF#000000##FFFFFF
##9038BB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2A64B8
Tritanopia (blue-blind)
#8B5476
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9038bb;
/* rgb */ color: rgb(144, 56, 187);
/* oklch */ color: oklch(52.3% 0.202 312.3);
Tailwind
colors: {
  custom: {
    50: '#b576d0',
    500: '#9038bb',
    950: '#000000',
  },
}
SCSS
$custom: #9038bb;
$custom-light: #b576d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9038bb",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 280.305,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.20174,
    "h": 312.3
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#9038BB
secondary
#9CC886
accent
#DD4B7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9038BB

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

Preview Lab → · Contrast checker → · Palette generator →

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