#9038C9#9038C9

#9038C9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.215 H 308.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9038C9
RGBrgb(144, 56, 201)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 72%, 79%)
CMYKcmyk(28.4%, 72.1%, 0%, 21.2%)
CIE-LABlab(42.73, 60.50, -59.48)
CIE-LCHlch(42.73, 84.84, 315.49°)
OKLaboklab(53.32% 0.1338 -0.1687)
OKLCHoklch(53.32% 0.215 308.4)
XYZxyz(23.4562, 12.9751, 56.5158)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C9 #71C938
analogous
#4838C9 #9038C9 #C938B9
triadic
#9038C9 #C99038 #38C990
tetradic
#9038C9 #C94838 #71C938 #38B9C9
square
#9038C9 #C94838 #71C938 #38B9C9
split-complementary
#9038C9 #B9C938 #38C948
monochromatic
#4C1D6A #6E2A9A #9038C9 #AB68D6 #C698E3

Accessibility & contrast

On white

5.84
#9038C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9038C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C9#FFFFFF#000000##FFFFFF
##9038C91.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0B66C6
Tritanopia (blue-blind)
#875A7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9038c9;
/* rgb */ color: rgb(144, 56, 201);
/* oklch */ color: oklch(53.3% 0.215 308.4);
Tailwind
colors: {
  custom: {
    50: '#b576da',
    500: '#9038c9',
    950: '#000000',
  },
}
SCSS
$custom: #9038c9;
$custom-light: #b576da;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c9",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 276.414,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.21532,
    "h": 308.4
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#9038C9
secondary
#A7CF8E
accent
#E14784
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038C9

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

Preview Lab → · Contrast checker → · Palette generator →

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