#9038CC#9038CC

#9038CC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.218 H 307.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9038CC
RGBrgb(144, 56, 204)
HSLhsl(276, 59%, 51%)
HSVhsv(276, 73%, 80%)
CMYKcmyk(29.4%, 72.5%, 0%, 20%)
CIE-LABlab(42.94, 61.15, -60.87)
CIE-LCHlch(42.94, 86.28, 315.13°)
OKLaboklab(53.54% 0.1333 -0.1728)
OKLCHoklch(53.54% 0.218 307.7)
XYZxyz(23.8126, 13.1176, 58.3925)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038CC #74CC38
analogous
#4638CC #9038CC #CC38BE
triadic
#9038CC #CC9038 #38CC90
tetradic
#9038CC #CC4638 #74CC38 #38BECC
square
#9038CC #CC4638 #74CC38 #38BECC
split-complementary
#9038CC #BECC38 #38CC46
monochromatic
#4D1C6E #6F299E #9038CC #AB69D8 #C699E5

Accessibility & contrast

On white

5.80
#9038CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9038CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038CC#FFFFFF#000000##FFFFFF
##9038CC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#865B7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9038cc;
/* rgb */ color: rgb(144, 56, 204);
/* oklch */ color: oklch(53.5% 0.218 307.7);
Tailwind
colors: {
  custom: {
    50: '#b677dc',
    500: '#9038cc',
    950: '#000000',
  },
}
SCSS
$custom: #9038cc;
$custom-light: #b677dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9038cc",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 275.676,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.21824,
    "h": 307.7
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#9038CC
secondary
#AAD18F
accent
#E24585
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038CC

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

Preview Lab → · Contrast checker → · Palette generator →

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