#9039D2#9039D2

#9039D2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.223 H 306.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9039D2
RGBrgb(144, 57, 210)
HSLhsl(274, 63%, 52%)
HSVhsv(274, 73%, 82%)
CMYKcmyk(31.4%, 72.9%, 0%, 17.6%)
CIE-LABlab(43.52, 62.07, -63.39)
CIE-LCHlch(43.52, 88.72, 314.40°)
OKLaboklab(54.09% 0.1313 -0.1802)
OKLCHoklch(54.09% 0.223 306.1)
XYZxyz(24.5950, 13.5089, 62.2721)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9039D2 #7BD239
analogous
#4439D2 #9039D2 #D239C7
triadic
#9039D2 #D29039 #39D290
tetradic
#9039D2 #D24439 #7BD239 #39C7D2
square
#9039D2 #D24439 #7BD239 #39C7D2
split-complementary
#9039D2 #C7D239 #39D244
monochromatic
#4F1B76 #7026A8 #9039D2 #AC6BDD #C89DE9

Accessibility & contrast

On white

5.67
#9039D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9039D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9039D2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9039D2#FFFFFF#000000##FFFFFF
##9039D21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#845E83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9039d2;
/* rgb */ color: rgb(144, 57, 210);
/* oklch */ color: oklch(54.1% 0.223 306.1);
Tailwind
colors: {
  custom: {
    50: '#b677e1',
    500: '#9039d2',
    950: '#000000',
  },
}
SCSS
$custom: #9039d2;
$custom-light: #b677e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9039d2",
  "rgb": {
    "r": 144,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 274.118,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.22298,
    "h": 306.1
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#9039D2
secondary
#AFD592
accent
#E64289
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9039D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9039D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva