#8938C3#8938C3

#8938C3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.208 H 307.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8938C3
RGBrgb(137, 56, 195)
HSLhsl(275, 55%, 49%)
HSVhsv(275, 71%, 76%)
CMYKcmyk(29.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(41.35, 57.81, -58.26)
CIE-LCHlch(41.35, 82.07, 314.78°)
OKLaboklab(52.01% 0.1254 -0.1653)
OKLCHoklch(52.01% 0.208 307.2)
XYZxyz(21.5789, 12.0871, 52.8154)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938C3 #72C338
analogous
#4438C3 #8938C3 #C338B8
triadic
#8938C3 #C38938 #38C389
tetradic
#8938C3 #C34438 #72C338 #38B8C3
square
#8938C3 #C34438 #72C338 #38B8C3
split-complementary
#8938C3 #B8C338 #38C344
monochromatic
#461D64 #682A93 #8938C3 #A565D3 #C195E1

Accessibility & contrast

On white

6.15
#8938C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8938C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938C3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938C3#FFFFFF#000000##FFFFFF
##8938C31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0562C0
Tritanopia (blue-blind)
#7F587A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8938c3;
/* rgb */ color: rgb(137, 56, 195);
/* oklch */ color: oklch(52.0% 0.208 307.2);
Tailwind
colors: {
  custom: {
    50: '#b076d6',
    500: '#8938c3',
    950: '#000000',
  },
}
SCSS
$custom: #8938c3;
$custom-light: #b076d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8938c3",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 274.964,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.20753,
    "h": 307.2
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8938C3

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

Preview Lab → · Contrast checker → · Palette generator →

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