#9038C5#9038C5

#9038C5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.211 H 309.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9038C5
RGBrgb(144, 56, 197)
HSLhsl(277, 56%, 50%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(26.9%, 71.6%, 0%, 22.7%)
CIE-LABlab(42.44, 59.63, -57.61)
CIE-LCHlch(42.44, 82.91, 315.98°)
OKLaboklab(53.03% 0.1344 -0.1632)
OKLCHoklch(53.03% 0.211 309.5)
XYZxyz(22.9918, 12.7893, 54.0699)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C5 #6DC538
analogous
#4A38C5 #9038C5 #C538B3
triadic
#9038C5 #C59038 #38C590
tetradic
#9038C5 #C54A38 #6DC538 #38B3C5
square
#9038C5 #C54A38 #6DC538 #38B3C5
split-complementary
#9038C5 #B3C538 #38C54A
monochromatic
#4A1D66 #6D2A95 #9038C5 #AB67D4 #C596E1

Accessibility & contrast

On white

5.90
#9038C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9038C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C5#FFFFFF#000000##FFFFFF
##9038C51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1865C2
Tritanopia (blue-blind)
#88587B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9038c5;
/* rgb */ color: rgb(144, 56, 197);
/* oklch */ color: oklch(53.0% 0.211 309.5);
Tailwind
colors: {
  custom: {
    50: '#b576d7',
    500: '#9038c5',
    950: '#000000',
  },
}
SCSS
$custom: #9038c5;
$custom-light: #b576d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c5",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 277.447,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.21144,
    "h": 309.5
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#9038C5
secondary
#A4CD8C
accent
#DF4981
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9038C5

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

Preview Lab → · Contrast checker → · Palette generator →

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