#8938BF#8938BF

#8938BF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.204 H 308.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8938BF
RGBrgb(137, 56, 191)
HSLhsl(276, 55%, 48%)
HSVhsv(276, 71%, 75%)
CMYKcmyk(28.3%, 70.7%, 0%, 25.1%)
CIE-LABlab(41.07, 56.91, -56.38)
CIE-LCHlch(41.07, 80.11, 315.27°)
OKLaboklab(51.72% 0.126 -0.1598)
OKLCHoklch(51.72% 0.204 308.3)
XYZxyz(21.1327, 11.9086, 50.4654)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938BF #6EBF38
analogous
#4538BF #8938BF #BF38B1
triadic
#8938BF #BF8938 #38BF89
tetradic
#8938BF #BF4538 #6EBF38 #38B1BF
square
#8938BF #BF4538 #6EBF38 #38B1BF
split-complementary
#8938BF #B1BF38 #38BF45
monochromatic
#451C60 #672A90 #8938BF #A563D1 #C092DF

Accessibility & contrast

On white

6.21
#8938BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8938BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938BF#FFFFFF#000000##FFFFFF
##8938BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#815678
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8938bf;
/* rgb */ color: rgb(137, 56, 191);
/* oklch */ color: oklch(51.7% 0.204 308.3);
Tailwind
colors: {
  custom: {
    50: '#b075d3',
    500: '#8938bf',
    950: '#000000',
  },
}
SCSS
$custom: #8938bf;
$custom-light: #b075d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8938bf",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 276,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.20353,
    "h": 308.3
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#8938BF
secondary
#A3CA89
accent
#DE4A85
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8938BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8938BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva