#9038C7#9038C7

#9038C7 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.213 H 308.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9038C7
RGBrgb(144, 56, 199)
HSLhsl(277, 56%, 50%)
HSVhsv(277, 72%, 78%)
CMYKcmyk(27.6%, 71.9%, 0%, 22%)
CIE-LABlab(42.58, 60.06, -58.55)
CIE-LCHlch(42.58, 83.88, 315.73°)
OKLaboklab(53.18% 0.1341 -0.1659)
OKLCHoklch(53.18% 0.213 308.9)
XYZxyz(23.2225, 12.8816, 55.2848)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C7 #6FC738
analogous
#4938C7 #9038C7 #C738B6
triadic
#9038C7 #C79038 #38C790
tetradic
#9038C7 #C74938 #6FC738 #38B6C7
square
#9038C7 #C74938 #6FC738 #38B6C7
split-complementary
#9038C7 #B6C738 #38C749
monochromatic
#4B1D67 #6D2B97 #9038C7 #AB68D4 #C598E2

Accessibility & contrast

On white

5.87
#9038C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9038C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C7#FFFFFF#000000##FFFFFF
##9038C71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#1366C4
Tritanopia (blue-blind)
#88597C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9038c7;
/* rgb */ color: rgb(144, 56, 199);
/* oklch */ color: oklch(53.2% 0.213 308.9);
Tailwind
colors: {
  custom: {
    50: '#b576d9',
    500: '#9038c7',
    950: '#000000',
  },
}
SCSS
$custom: #9038c7;
$custom-light: #b576d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c7",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 276.923,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.21338,
    "h": 308.9
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#9038C7
secondary
#A6CD8D
accent
#DF4882
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038C7

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

Preview Lab → · Contrast checker → · Palette generator →

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