#9038C3#9038C3

#9038C3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.209 H 310.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9038C3
RGBrgb(144, 56, 195)
HSLhsl(278, 55%, 49%)
HSVhsv(278, 71%, 76%)
CMYKcmyk(26.2%, 71.3%, 0%, 23.5%)
CIE-LABlab(42.30, 59.19, -56.67)
CIE-LCHlch(42.30, 81.95, 316.25°)
OKLaboklab(52.89% 0.1347 -0.1604)
OKLCHoklch(52.89% 0.209 310)
XYZxyz(22.7642, 12.6982, 52.8710)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C3 #6BC338
analogous
#4B38C3 #9038C3 #C338B0
triadic
#9038C3 #C39038 #38C390
tetradic
#9038C3 #C34B38 #6BC338 #38B0C3
square
#9038C3 #C34B38 #6BC338 #38B0C3
split-complementary
#9038C3 #B0C338 #38C34B
monochromatic
#4A1D64 #6D2A93 #9038C3 #AB65D3 #C595E1

Accessibility & contrast

On white

5.93
#9038C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9038C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C3#FFFFFF#000000##FFFFFF
##9038C31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1D65C0
Tritanopia (blue-blind)
#89577A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9038c3;
/* rgb */ color: rgb(144, 56, 195);
/* oklch */ color: oklch(52.9% 0.209 310.0);
Tailwind
colors: {
  custom: {
    50: '#b576d6',
    500: '#9038c3',
    950: '#000000',
  },
}
SCSS
$custom: #9038c3;
$custom-light: #b576d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c3",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 277.986,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.20949,
    "h": 310
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#9038C3
secondary
#A3CC8B
accent
#DF4980
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9038C3

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

Preview Lab → · Contrast checker → · Palette generator →

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