#8939D1#8939D1

#8939D1 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.220 H 303.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8939D1
RGBrgb(137, 57, 209)
HSLhsl(272, 62%, 52%)
HSVhsv(272, 73%, 82%)
CMYKcmyk(34.4%, 72.7%, 0%, 18%)
CIE-LABlab(42.53, 60.56, -64.46)
CIE-LCHlch(42.53, 88.45, 313.21°)
OKLaboklab(53.17% 0.122 -0.1836)
OKLCHoklch(53.17% 0.22 303.6)
XYZxyz(23.2856, 12.8481, 61.5624)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939D1 #81D139
analogous
#3D39D1 #8939D1 #D139CD
triadic
#8939D1 #D18939 #39D189
tetradic
#8939D1 #D13D39 #81D139 #39CDD1
square
#8939D1 #D13D39 #81D139 #39CDD1
split-complementary
#8939D1 #CDD139 #39D13D
monochromatic
#4A1B75 #6A27A6 #8939D1 #A76BDD #C49CE8

Accessibility & contrast

On white

5.88
#8939D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8939D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939D1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939D1#FFFFFF#000000##FFFFFF
##8939D11.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#7B5E82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8939d1;
/* rgb */ color: rgb(137, 57, 209);
/* oklch */ color: oklch(53.2% 0.220 303.6);
Tailwind
colors: {
  custom: {
    50: '#b177e0',
    500: '#8939d1',
    950: '#000000',
  },
}
SCSS
$custom: #8939d1;
$custom-light: #b177e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8939d1",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 271.579,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.22044,
    "h": 303.6
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#8939D1
secondary
#B1D492
accent
#E54290
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8939D1

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

Preview Lab → · Contrast checker → · Palette generator →

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