#8938C1#8938C1

#8938C1 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.206 H 307.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8938C1
RGBrgb(137, 56, 193)
HSLhsl(275, 55%, 49%)
HSVhsv(275, 71%, 76%)
CMYKcmyk(29%, 71%, 0%, 24.3%)
CIE-LABlab(41.21, 57.36, -57.32)
CIE-LCHlch(41.21, 81.09, 315.02°)
OKLaboklab(51.87% 0.1257 -0.1626)
OKLCHoklch(51.87% 0.206 307.7)
XYZxyz(21.3543, 11.9973, 51.6325)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938C1 #70C138
analogous
#4438C1 #8938C1 #C138B5
triadic
#8938C1 #C18938 #38C189
tetradic
#8938C1 #C14438 #70C138 #38B5C1
square
#8938C1 #C14438 #70C138 #38B5C1
split-complementary
#8938C1 #B5C138 #38C144
monochromatic
#461C62 #672A92 #8938C1 #A564D2 #C194E0

Accessibility & contrast

On white

6.18
#8938C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8938C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938C1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938C1#FFFFFF#000000##FFFFFF
##8938C11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0E62BE
Tritanopia (blue-blind)
#805779
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8938c1;
/* rgb */ color: rgb(137, 56, 193);
/* oklch */ color: oklch(51.9% 0.206 307.7);
Tailwind
colors: {
  custom: {
    50: '#b075d5',
    500: '#8938c1',
    950: '#000000',
  },
}
SCSS
$custom: #8938c1;
$custom-light: #b075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8938c1",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 275.474,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.20553,
    "h": 307.7
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#8938C1
secondary
#A4CB8A
accent
#DE4986
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8938C1

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

Preview Lab → · Contrast checker → · Palette generator →

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