#9038D1#9038D1

#9038D1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.223 H 306.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9038D1
RGBrgb(144, 56, 209)
HSLhsl(275, 62%, 52%)
HSVhsv(275, 73%, 82%)
CMYKcmyk(31.1%, 73.2%, 0%, 18%)
CIE-LABlab(43.30, 62.26, -63.17)
CIE-LCHlch(43.30, 88.69, 314.58°)
OKLaboklab(53.91% 0.1325 -0.1795)
OKLCHoklch(53.91% 0.223 306.4)
XYZxyz(24.4219, 13.3613, 61.6017)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038D1 #79D138
analogous
#4438D1 #9038D1 #D138C5
triadic
#9038D1 #D19038 #38D190
tetradic
#9038D1 #D14438 #79D138 #38C5D1
square
#9038D1 #D14438 #79D138 #38C5D1
split-complementary
#9038D1 #C5D138 #38D144
monochromatic
#4E1B74 #6F26A6 #9038D1 #AC6ADC #C79BE8

Accessibility & contrast

On white

5.72
#9038D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9038D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038D1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038D1#FFFFFF#000000##FFFFFF
##9038D11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#855D82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9038d1;
/* rgb */ color: rgb(144, 56, 209);
/* oklch */ color: oklch(53.9% 0.223 306.4);
Tailwind
colors: {
  custom: {
    50: '#b677e0',
    500: '#9038d1',
    950: '#000000',
  },
}
SCSS
$custom: #9038d1;
$custom-light: #b677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9038d1",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 274.51,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.2231,
    "h": 306.4
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#9038D1
secondary
#ADD491
accent
#E64288
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038D1

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

Preview Lab → · Contrast checker → · Palette generator →

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