#9038BD#9038BD

#9038BD is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.204 H 311.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9038BD
RGBrgb(144, 56, 189)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 74%)
CMYKcmyk(23.8%, 70.4%, 0%, 25.9%)
CIE-LABlab(41.90, 57.91, -53.83)
CIE-LCHlch(41.90, 79.06, 317.09°)
OKLaboklab(52.47% 0.1355 -0.1521)
OKLCHoklch(52.47% 0.204 311.7)
XYZxyz(22.0994, 12.4323, 49.3698)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038BD #65BD38
analogous
#4D38BD #9038BD #BD38A8
triadic
#9038BD #BD9038 #38BD90
tetradic
#9038BD #BD4D38 #65BD38 #38A8BD
square
#9038BD #BD4D38 #65BD38 #38A8BD
split-complementary
#9038BD #A8BD38 #38BD4D
monochromatic
#481C5F #6C2A8E #9038BD #AB62D0 #C491DE

Accessibility & contrast

On white

6.02
#9038BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9038BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038BD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038BD#FFFFFF#000000##FFFFFF
##9038BD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2765BA
Tritanopia (blue-blind)
#8A5577
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9038bd;
/* rgb */ color: rgb(144, 56, 189);
/* oklch */ color: oklch(52.5% 0.204 311.7);
Tailwind
colors: {
  custom: {
    50: '#b576d2',
    500: '#9038bd',
    950: '#000000',
  },
}
SCSS
$custom: #9038bd;
$custom-light: #b576d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9038bd",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 279.699,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.20367,
    "h": 311.7
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#9038BD
secondary
#9EC987
accent
#DE4A7C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9038BD

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

Preview Lab → · Contrast checker → · Palette generator →

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