#9038BE#9038BE

#9038BE is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.205 H 311.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9038BE
RGBrgb(144, 56, 190)
HSLhsl(279, 54%, 48%)
HSVhsv(279, 71%, 75%)
CMYKcmyk(24.2%, 70.5%, 0%, 25.5%)
CIE-LABlab(41.96, 58.12, -54.31)
CIE-LCHlch(41.96, 79.54, 316.94°)
OKLaboklab(52.54% 0.1354 -0.1535)
OKLCHoklch(52.54% 0.205 311.4)
XYZxyz(22.2083, 12.4759, 49.9434)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038BE #66BE38
analogous
#4D38BE #9038BE #BE38A9
triadic
#9038BE #BE9038 #38BE90
tetradic
#9038BE #BE4D38 #66BE38 #38A9BE
square
#9038BE #BE4D38 #66BE38 #38A9BE
split-complementary
#9038BE #A9BE38 #38BE4D
monochromatic
#481C5F #6C2A8F #9038BE #AB62D1 #C492DF

Accessibility & contrast

On white

6.01
#9038BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9038BE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038BE#FFFFFF#000000##FFFFFF
##9038BE1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#2665BB
Tritanopia (blue-blind)
#8A5577
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9038be;
/* rgb */ color: rgb(144, 56, 190);
/* oklch */ color: oklch(52.5% 0.205 311.4);
Tailwind
colors: {
  custom: {
    50: '#b576d2',
    500: '#9038be',
    950: '#000000',
  },
}
SCSS
$custom: #9038be;
$custom-light: #b576d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9038be",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 279.403,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.20464,
    "h": 311.4
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9038BE

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

Preview Lab → · Contrast checker → · Palette generator →

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