#9038C6#9038C6

#9038C6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.212 H 309.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9038C6
RGBrgb(144, 56, 198)
HSLhsl(277, 56%, 50%)
HSVhsv(277, 72%, 78%)
CMYKcmyk(27.3%, 71.7%, 0%, 22.4%)
CIE-LABlab(42.51, 59.84, -58.08)
CIE-LCHlch(42.51, 83.39, 315.86°)
OKLaboklab(53.1% 0.1343 -0.1646)
OKLCHoklch(53.1% 0.212 309.2)
XYZxyz(23.1068, 12.8353, 54.6753)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C6 #6EC638
analogous
#4938C6 #9038C6 #C638B5
triadic
#9038C6 #C69038 #38C690
tetradic
#9038C6 #C64938 #6EC638 #38B5C6
square
#9038C6 #C64938 #6EC638 #38B5C6
split-complementary
#9038C6 #B5C638 #38C649
monochromatic
#4B1D67 #6D2B96 #9038C6 #AB67D4 #C597E2

Accessibility & contrast

On white

5.89
#9038C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9038C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C6#FFFFFF#000000##FFFFFF
##9038C61.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#1565C3
Tritanopia (blue-blind)
#88587C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9038c6;
/* rgb */ color: rgb(144, 56, 198);
/* oklch */ color: oklch(53.1% 0.212 309.2);
Tailwind
colors: {
  custom: {
    50: '#b576d8',
    500: '#9038c6',
    950: '#000000',
  },
}
SCSS
$custom: #9038c6;
$custom-light: #b576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c6",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 277.183,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53103,
    "c": 0.21241,
    "h": 309.2
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#9038C6
secondary
#A5CD8D
accent
#DF4982
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9038C6

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

Preview Lab → · Contrast checker → · Palette generator →

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