#8938CC#8938CC

#8938CC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.217 H 304.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8938CC
RGBrgb(137, 56, 204)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 73%, 80%)
CMYKcmyk(32.8%, 72.5%, 0%, 20%)
CIE-LABlab(42.01, 59.84, -62.42)
CIE-LCHlch(42.01, 86.47, 313.79°)
OKLaboklab(52.68% 0.1239 -0.1776)
OKLCHoklch(52.68% 0.217 304.9)
XYZxyz(22.6273, 12.5065, 58.3370)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8938CC #7BCC38
analogous
#3F38CC #8938CC #CC38C5
triadic
#8938CC #CC8938 #38CC89
tetradic
#8938CC #CC3F38 #7BCC38 #38C5CC
square
#8938CC #CC3F38 #7BCC38 #38C5CC
split-complementary
#8938CC #C5CC38 #38CC3F
monochromatic
#491C6E #69299E #8938CC #A669D8 #C399E5

Accessibility & contrast

On white

6.00
#8938CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8938CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8938CC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8938CC#FFFFFF#000000##FFFFFF
##8938CC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#7C5C7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8938cc;
/* rgb */ color: rgb(137, 56, 204);
/* oklch */ color: oklch(52.7% 0.217 304.9);
Tailwind
colors: {
  custom: {
    50: '#b176dc',
    500: '#8938cc',
    950: '#000000',
  },
}
SCSS
$custom: #8938cc;
$custom-light: #b176dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8938cc",
  "rgb": {
    "r": 137,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 272.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.21654,
    "h": 304.9
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#8938CC
secondary
#ADD18F
accent
#E2458C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8938CC

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

Preview Lab → · Contrast checker → · Palette generator →

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