#8938C9#8938C9

#8938C9 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.214 H 305.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8938C9
RGBrgb(137, 56, 201)
HSLhsl(274, 57%, 50%)
HSVhsv(274, 72%, 79%)
CMYKcmyk(31.8%, 72.1%, 0%, 21.2%)
CIE-LABlab(41.79, 59.16, -61.04)
CIE-LCHlch(41.79, 85.01, 314.10°)
OKLaboklab(52.46% 0.1245 -0.1735)
OKLCHoklch(52.46% 0.214 305.6)
XYZxyz(22.2710, 12.3639, 56.4602)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938C9 #78C938
analogous
#4038C9 #8938C9 #C938C1
triadic
#8938C9 #C98938 #38C989
tetradic
#8938C9 #C94038 #78C938 #38C1C9
square
#8938C9 #C94038 #78C938 #38C1C9
split-complementary
#8938C9 #C1C938 #38C940
monochromatic
#481D6A #682A9A #8938C9 #A668D6 #C298E3

Accessibility & contrast

On white

6.05
#8938C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8938C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938C9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938C9#FFFFFF#000000##FFFFFF
##8938C91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#7D5A7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8938c9;
/* rgb */ color: rgb(137, 56, 201);
/* oklch */ color: oklch(52.5% 0.214 305.6);
Tailwind
colors: {
  custom: {
    50: '#b176da',
    500: '#8938c9',
    950: '#000000',
  },
}
SCSS
$custom: #8938c9;
$custom-light: #b176da;
$custom-dark: #000000;
JSON
{
  "hex": "#8938c9",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 273.517,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.21353,
    "h": 305.6
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#8938C9
secondary
#ABCF8E
accent
#E1478B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8938C9

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

Preview Lab → · Contrast checker → · Palette generator →

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