#8938D0#8938D0

#8938D0 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.221 H 303.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8938D0
RGBrgb(137, 56, 208)
HSLhsl(272, 62%, 52%)
HSVhsv(272, 73%, 82%)
CMYKcmyk(34.1%, 73.1%, 0%, 18.4%)
CIE-LABlab(42.31, 60.76, -64.25)
CIE-LCHlch(42.31, 88.43, 313.40°)
OKLaboklab(52.99% 0.1232 -0.1829)
OKLCHoklch(52.99% 0.221 303.9)
XYZxyz(23.1132, 12.7008, 60.8961)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938D0 #7FD038
analogous
#3D38D0 #8938D0 #D038CB
triadic
#8938D0 #D08938 #38D089
tetradic
#8938D0 #D03D38 #7FD038 #38CBD0
square
#8938D0 #D03D38 #7FD038 #38CBD0
split-complementary
#8938D0 #CBD038 #38D03D
monochromatic
#4A1B73 #6A27A4 #8938D0 #A66ADC #C49BE7

Accessibility & contrast

On white

5.93
#8938D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8938D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938D0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938D0#FFFFFF#000000##FFFFFF
##8938D01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#7B5D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8938d0;
/* rgb */ color: rgb(137, 56, 208);
/* oklch */ color: oklch(53.0% 0.221 303.9);
Tailwind
colors: {
  custom: {
    50: '#b176df',
    500: '#8938d0',
    950: '#000000',
  },
}
SCSS
$custom: #8938d0;
$custom-light: #b176df;
$custom-dark: #000000;
JSON
{
  "hex": "#8938d0",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 271.974,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.22053,
    "h": 303.9
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#8938D0
secondary
#B0D391
accent
#E5438F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8938D0

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

Preview Lab → · Contrast checker → · Palette generator →

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