#8938C4#8938C4

#8938C4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.209 H 306.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8938C4
RGBrgb(137, 56, 196)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 71%, 77%)
CMYKcmyk(30.1%, 71.4%, 0%, 23.1%)
CIE-LABlab(41.43, 58.03, -58.72)
CIE-LCHlch(41.43, 82.56, 314.66°)
OKLaboklab(52.09% 0.1253 -0.1667)
OKLCHoklch(52.09% 0.209 306.9)
XYZxyz(21.6924, 12.1325, 53.4129)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938C4 #73C438
analogous
#4338C4 #8938C4 #C438B9
triadic
#8938C4 #C48938 #38C489
tetradic
#8938C4 #C44338 #73C438 #38B9C4
square
#8938C4 #C44338 #73C438 #38B9C4
split-complementary
#8938C4 #B9C438 #38C443
monochromatic
#461D65 #682A94 #8938C4 #A566D3 #C196E1

Accessibility & contrast

On white

6.13
#8938C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8938C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938C4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938C4#FFFFFF#000000##FFFFFF
##8938C41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#7F587A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8938c4;
/* rgb */ color: rgb(137, 56, 196);
/* oklch */ color: oklch(52.1% 0.209 306.9);
Tailwind
colors: {
  custom: {
    50: '#b076d7',
    500: '#8938c4',
    950: '#000000',
  },
}
SCSS
$custom: #8938c4;
$custom-light: #b076d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8938c4",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 274.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52085,
    "c": 0.20854,
    "h": 306.9
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#8938C4
secondary
#A7CC8C
accent
#DF4988
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8938C4

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

Preview Lab → · Contrast checker → · Palette generator →

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