#8938C8#8938C8

#8938C8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.213 H 305.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8938C8
RGBrgb(137, 56, 200)
HSLhsl(274, 57%, 50%)
HSVhsv(274, 72%, 78%)
CMYKcmyk(31.5%, 72%, 0%, 21.6%)
CIE-LABlab(41.72, 58.93, -60.58)
CIE-LCHlch(41.72, 84.52, 314.21°)
OKLaboklab(52.38% 0.1246 -0.1722)
OKLCHoklch(52.38% 0.213 305.9)
XYZxyz(22.1537, 12.3170, 55.8427)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938C8 #77C838
analogous
#4138C8 #8938C8 #C838BF
triadic
#8938C8 #C88938 #38C889
tetradic
#8938C8 #C84138 #77C838 #38BFC8
square
#8938C8 #C84138 #77C838 #38BFC8
split-complementary
#8938C8 #BFC838 #38C841
monochromatic
#481D69 #682A99 #8938C8 #A568D5 #C298E3

Accessibility & contrast

On white

6.06
#8938C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8938C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938C8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938C8#FFFFFF#000000##FFFFFF
##8938C81.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#7E5A7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8938c8;
/* rgb */ color: rgb(137, 56, 200);
/* oklch */ color: oklch(52.4% 0.213 305.9);
Tailwind
colors: {
  custom: {
    50: '#b176da',
    500: '#8938c8',
    950: '#000000',
  },
}
SCSS
$custom: #8938c8;
$custom-light: #b176da;
$custom-dark: #000000;
JSON
{
  "hex": "#8938c8",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 273.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52382,
    "c": 0.21254,
    "h": 305.9
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#8938C8
secondary
#AACE8E
accent
#E0488A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8938C8

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

Preview Lab → · Contrast checker → · Palette generator →

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