#8927CC#8927CC

#8927CC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.1% C 0.233 H 306.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8927CC
RGBrgb(137, 39, 204)
HSLhsl(276, 68%, 48%)
HSVhsv(276, 81%, 80%)
CMYKcmyk(32.8%, 80.9%, 0%, 20%)
CIE-LABlab(39.80, 66.20, -66.02)
CIE-LCHlch(39.80, 93.50, 315.08°)
OKLaboklab(51.13% 0.1381 -0.188)
OKLCHoklch(51.13% 0.233 306.3)
XYZxyz(21.9387, 11.1293, 58.1074)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8927CC #6ACC27
analogous
#3627CC #8927CC #CC27BD
triadic
#8927CC #CC8927 #27CC89
tetradic
#8927CC #CC3627 #6ACC27 #27BDCC
square
#8927CC #CC3627 #6ACC27 #27BDCC
split-complementary
#8927CC #BDCC27 #27CC36
monochromatic
#441365 #661D99 #8927CC #A552DE #C086E8

Accessibility & contrast

On white

6.51
#8927CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8927CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8927CC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8927CC#FFFFFF#000000##FFFFFF
##8927CC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#7D547B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8927cc;
/* rgb */ color: rgb(137, 39, 204);
/* oklch */ color: oklch(51.1% 0.233 306.3);
Tailwind
colors: {
  custom: {
    50: '#b26edd',
    500: '#8927cc',
    950: '#000000',
  },
}
SCSS
$custom: #8927cc;
$custom-light: #b26edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8927cc",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 204
  },
  "hsl": {
    "h": 275.636,
    "s": 67.901,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.23328,
    "h": 306.3
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#8927CC
secondary
#A0D17E
accent
#EB3D84
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8927CC

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

Preview Lab → · Contrast checker → · Palette generator →

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