#8938BB#8938BB

#8938BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.4% C 0.200 H 309.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8938BB
RGBrgb(137, 56, 187)
HSLhsl(277, 54%, 48%)
HSVhsv(277, 70%, 73%)
CMYKcmyk(26.7%, 70.1%, 0%, 26.7%)
CIE-LABlab(40.79, 56.03, -54.49)
CIE-LCHlch(40.79, 78.15, 315.80°)
OKLaboklab(51.43% 0.1266 -0.1542)
OKLCHoklch(51.43% 0.2 309.4)
XYZxyz(20.6986, 11.7350, 48.1788)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938BB #6ABB38
analogous
#4738BB #8938BB #BB38AB
triadic
#8938BB #BB8938 #38BB89
tetradic
#8938BB #BB4738 #6ABB38 #38ABBB
square
#8938BB #BB4738 #6ABB38 #38ABBB
split-complementary
#8938BB #ABBB38 #38BB47
monochromatic
#441C5D #662A8C #8938BB #A561D0 #C090DE

Accessibility & contrast

On white

6.27
#8938BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8938BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938BB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938BB#FFFFFF#000000##FFFFFF
##8938BB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#825576
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8938bb;
/* rgb */ color: rgb(137, 56, 187);
/* oklch */ color: oklch(51.4% 0.200 309.4);
Tailwind
colors: {
  custom: {
    50: '#b075d0',
    500: '#8938bb',
    950: '#000000',
  },
}
SCSS
$custom: #8938bb;
$custom-light: #b075d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8938bb",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 277.099,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.19952,
    "h": 309.4
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#8938BB
secondary
#A0C886
accent
#DD4B83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8938BB

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

Preview Lab → · Contrast checker → · Palette generator →

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