#9038C4#9038C4

#9038C4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.210 H 309.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9038C4
RGBrgb(144, 56, 196)
HSLhsl(278, 56%, 49%)
HSVhsv(278, 71%, 77%)
CMYKcmyk(26.5%, 71.4%, 0%, 23.1%)
CIE-LABlab(42.37, 59.41, -57.14)
CIE-LCHlch(42.37, 82.43, 316.11°)
OKLaboklab(52.96% 0.1346 -0.1618)
OKLCHoklch(52.96% 0.21 309.7)
XYZxyz(22.8776, 12.7436, 53.4684)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C4 #6CC438
analogous
#4A38C4 #9038C4 #C438B2
triadic
#9038C4 #C49038 #38C490
tetradic
#9038C4 #C44A38 #6CC438 #38B2C4
square
#9038C4 #C44A38 #6CC438 #38B2C4
split-complementary
#9038C4 #B2C438 #38C44A
monochromatic
#4A1D65 #6D2A94 #9038C4 #AB66D3 #C596E1

Accessibility & contrast

On white

5.92
#9038C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9038C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C4#FFFFFF#000000##FFFFFF
##9038C41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#1A65C1
Tritanopia (blue-blind)
#89577B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9038c4;
/* rgb */ color: rgb(144, 56, 196);
/* oklch */ color: oklch(53.0% 0.210 309.7);
Tailwind
colors: {
  custom: {
    50: '#b576d7',
    500: '#9038c4',
    950: '#000000',
  },
}
SCSS
$custom: #9038c4;
$custom-light: #b576d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c4",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 277.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.21046,
    "h": 309.7
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#9038C4
secondary
#A4CC8C
accent
#DF4981
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9038C4

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

Preview Lab → · Contrast checker → · Palette generator →

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