#9038C8#9038C8

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

Color values

HEX#9038C8
RGBrgb(144, 56, 200)
HSLhsl(277, 57%, 50%)
HSVhsv(277, 72%, 78%)
CMYKcmyk(28%, 72%, 0%, 21.6%)
CIE-LABlab(42.65, 60.28, -59.01)
CIE-LCHlch(42.65, 84.36, 315.61°)
OKLaboklab(53.25% 0.134 -0.1673)
OKLCHoklch(53.25% 0.214 308.7)
XYZxyz(23.3390, 12.9282, 55.8983)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C8 #70C838
analogous
#4838C8 #9038C8 #C838B8
triadic
#9038C8 #C89038 #38C890
tetradic
#9038C8 #C84838 #70C838 #38B8C8
square
#9038C8 #C84838 #70C838 #38B8C8
split-complementary
#9038C8 #B8C838 #38C848
monochromatic
#4B1D69 #6E2A99 #9038C8 #AB68D5 #C598E3

Accessibility & contrast

On white

5.86
#9038C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9038C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C8#FFFFFF#000000##FFFFFF
##9038C81.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#87597D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9038c8;
/* rgb */ color: rgb(144, 56, 200);
/* oklch */ color: oklch(53.2% 0.214 308.7);
Tailwind
colors: {
  custom: {
    50: '#b576da',
    500: '#9038c8',
    950: '#000000',
  },
}
SCSS
$custom: #9038c8;
$custom-light: #b576da;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c8",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 276.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.21435,
    "h": 308.7
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#9038C8
secondary
#A7CE8E
accent
#E04883
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038C8

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

Preview Lab → · Contrast checker → · Palette generator →

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