#8935B9#8935B9

#8935B9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.201 H 310.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8935B9
RGBrgb(137, 53, 185)
HSLhsl(278, 55%, 47%)
HSVhsv(278, 71%, 73%)
CMYKcmyk(25.9%, 71.4%, 0%, 27.5%)
CIE-LABlab(40.19, 56.88, -54.28)
CIE-LCHlch(40.19, 78.62, 316.34°)
OKLaboklab(50.96% 0.1299 -0.1536)
OKLCHoklch(50.96% 0.201 310.2)
XYZxyz(20.3449, 11.3678, 47.0120)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935B9 #65B935
analogous
#4735B9 #8935B9 #B935A7
triadic
#8935B9 #B98935 #35B989
tetradic
#8935B9 #B94735 #65B935 #35A7B9
square
#8935B9 #B94735 #65B935 #35A7B9
split-complementary
#8935B9 #A7B935 #35B947
monochromatic
#431A5A #662789 #8935B9 #A65BD0 #C08BDE

Accessibility & contrast

On white

6.42
#8935B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8935B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935B9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935B9#FFFFFF#000000##FFFFFF
##8935B91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#825274
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8935b9;
/* rgb */ color: rgb(137, 53, 185);
/* oklch */ color: oklch(51.0% 0.201 310.2);
Tailwind
colors: {
  custom: {
    50: '#b074cf',
    500: '#8935b9',
    950: '#000000',
  },
}
SCSS
$custom: #8935b9;
$custom-light: #b074cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8935b9",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 278.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.20119,
    "h": 310.2
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#8935B9
secondary
#9BC882
accent
#DF497F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8935B9

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

Preview Lab → · Contrast checker → · Palette generator →

#8935B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva