#8927B2#8927B2

#8927B2 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.210 H 313.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8927B2
RGBrgb(137, 39, 178)
HSLhsl(282, 64%, 43%)
HSVhsv(282, 78%, 70%)
CMYKcmyk(23%, 78.1%, 0%, 30.2%)
CIE-LABlab(37.81, 60.79, -53.99)
CIE-LCHlch(37.81, 81.30, 318.39°)
OKLaboklab(49.12% 0.1441 -0.1527)
OKLCHoklch(49.12% 0.21 313.3)
XYZxyz(19.0765, 9.9844, 43.0331)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8927B2 #50B227
analogous
#4327B2 #8927B2 #B22796
triadic
#8927B2 #B28927 #27B289
tetradic
#8927B2 #B24327 #50B227 #2796B2
square
#8927B2 #B24327 #50B227 #2796B2
split-complementary
#8927B2 #96B227 #27B243
monochromatic
#3C114E #621C80 #8927B2 #AA41D5 #C073E0

Accessibility & contrast

On white

7.01
#8927B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8927B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8927B2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8927B2#FFFFFF#000000##FFFFFF
##8927B21.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#165BAF
Tritanopia (blue-blind)
#85486C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8927b2;
/* rgb */ color: rgb(137, 39, 178);
/* oklch */ color: oklch(49.1% 0.210 313.3);
Tailwind
colors: {
  custom: {
    50: '#b06dca',
    500: '#8927b2',
    950: '#000000',
  },
}
SCSS
$custom: #8927b2;
$custom-light: #b06dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8927b2",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 282.302,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.20994,
    "h": 313.3
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#8927B2
secondary
#88C86D
accent
#E74172
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8927B2

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

Preview Lab → · Contrast checker → · Palette generator →

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