#9038BA#9038BA

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

Color values

HEX#9038BA
RGBrgb(144, 56, 186)
HSLhsl(281, 54%, 47%)
HSVhsv(281, 70%, 73%)
CMYKcmyk(22.6%, 69.9%, 0%, 27.1%)
CIE-LABlab(41.69, 57.27, -52.39)
CIE-LCHlch(41.69, 77.62, 317.55°)
OKLaboklab(52.26% 0.1358 -0.1479)
OKLCHoklch(52.26% 0.201 312.6)
XYZxyz(21.7771, 12.3034, 47.6725)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038BA #62BA38
analogous
#4F38BA #9038BA #BA38A3
triadic
#9038BA #BA9038 #38BA90
tetradic
#9038BA #BA4F38 #62BA38 #38A3BA
square
#9038BA #BA4F38 #62BA38 #38A3BA
split-complementary
#9038BA #A3BA38 #38BA4F
monochromatic
#471C5C #6C2A8B #9038BA #AB60CF #C48FDD

Accessibility & contrast

On white

6.07
#9038BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9038BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038BA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038BA#FFFFFF#000000##FFFFFF
##9038BA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#8B5375
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9038ba;
/* rgb */ color: rgb(144, 56, 186);
/* oklch */ color: oklch(52.3% 0.201 312.6);
Tailwind
colors: {
  custom: {
    50: '#b576cf',
    500: '#9038ba',
    950: '#000000',
  },
}
SCSS
$custom: #9038ba;
$custom-light: #b576cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9038ba",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 280.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.20077,
    "h": 312.6
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#9038BA
secondary
#9BC886
accent
#DD4B7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9038BA

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

Preview Lab → · Contrast checker → · Palette generator →

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