#9038D9#9038D9

#9038D9 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.231 H 304.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9038D9
RGBrgb(144, 56, 217)
HSLhsl(273, 68%, 54%)
HSVhsv(273, 74%, 85%)
CMYKcmyk(33.6%, 74.2%, 0%, 14.9%)
CIE-LABlab(43.90, 64.04, -66.80)
CIE-LCHlch(43.90, 92.53, 313.79°)
OKLaboklab(54.52% 0.1309 -0.1902)
OKLCHoklch(54.52% 0.231 304.5)
XYZxyz(25.4373, 13.7675, 66.9495)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038D9 #81D938
analogous
#3F38D9 #9038D9 #D938D1
triadic
#9038D9 #D99038 #38D990
tetradic
#9038D9 #D93F38 #81D938 #38D1D9
square
#9038D9 #D93F38 #81D938 #38D1D9
split-complementary
#9038D9 #D1D938 #38D93F
monochromatic
#50187E #7122B2 #9038D9 #AD6BE3 #C99FED

Accessibility & contrast

On white

5.59
#9038D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9038D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038D9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038D9#FFFFFF#000000##FFFFFF
##9038D91.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#826086
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9038d9;
/* rgb */ color: rgb(144, 56, 217);
/* oklch */ color: oklch(54.5% 0.231 304.5);
Tailwind
colors: {
  custom: {
    50: '#b777e6',
    500: '#9038d9',
    950: '#000000',
  },
}
SCSS
$custom: #9038d9;
$custom-light: #b777e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9038d9",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 272.795,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.23089,
    "h": 304.5
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#9038D9
secondary
#B3D994
accent
#EB3D8C
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9038D9

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

Preview Lab → · Contrast checker → · Palette generator →

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