#9038BF#9038BF

#9038BF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.206 H 311.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9038BF
RGBrgb(144, 56, 191)
HSLhsl(279, 55%, 48%)
HSVhsv(279, 71%, 75%)
CMYKcmyk(24.6%, 70.7%, 0%, 25.1%)
CIE-LABlab(42.03, 58.34, -54.78)
CIE-LCHlch(42.03, 80.03, 316.80°)
OKLaboklab(52.61% 0.1352 -0.1549)
OKLCHoklch(52.61% 0.206 311.1)
XYZxyz(22.3180, 12.5198, 50.5210)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038BF #67BF38
analogous
#4C38BF #9038BF #BF38AA
triadic
#9038BF #BF9038 #38BF90
tetradic
#9038BF #BF4C38 #67BF38 #38AABF
square
#9038BF #BF4C38 #67BF38 #38AABF
split-complementary
#9038BF #AABF38 #38BF4C
monochromatic
#491C60 #6C2A90 #9038BF #AB63D1 #C492DF

Accessibility & contrast

On white

5.99
#9038BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9038BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038BF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038BF#FFFFFF#000000##FFFFFF
##9038BF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#8A5578
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9038bf;
/* rgb */ color: rgb(144, 56, 191);
/* oklch */ color: oklch(52.6% 0.206 311.1);
Tailwind
colors: {
  custom: {
    50: '#b576d3',
    500: '#9038bf',
    950: '#000000',
  },
}
SCSS
$custom: #9038bf;
$custom-light: #b576d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9038bf",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 279.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.20562,
    "h": 311.1
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#9038BF
secondary
#9FCA89
accent
#DE4A7D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9038BF

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

Preview Lab → · Contrast checker → · Palette generator →

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