#8935BA#8935BA

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

Color values

HEX#8935BA
RGBrgb(137, 53, 186)
HSLhsl(278, 56%, 47%)
HSVhsv(278, 72%, 73%)
CMYKcmyk(26.3%, 71.5%, 0%, 27.1%)
CIE-LABlab(40.26, 57.10, -54.75)
CIE-LCHlch(40.26, 79.11, 316.20°)
OKLaboklab(51.04% 0.1298 -0.155)
OKLCHoklch(51.04% 0.202 309.9)
XYZxyz(20.4508, 11.4102, 47.5699)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935BA #66BA35
analogous
#4735BA #8935BA #BA35A9
triadic
#8935BA #BA8935 #35BA89
tetradic
#8935BA #BA4735 #66BA35 #35A9BA
square
#8935BA #BA4735 #66BA35 #35A9BA
split-complementary
#8935BA #A9BA35 #35BA47
monochromatic
#431A5B #66278A #8935BA #A55CD0 #C08BDE

Accessibility & contrast

On white

6.40
#8935BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8935BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935BA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935BA#FFFFFF#000000##FFFFFF
##8935BA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#825374
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8935ba;
/* rgb */ color: rgb(137, 53, 186);
/* oklch */ color: oklch(51.0% 0.202 309.9);
Tailwind
colors: {
  custom: {
    50: '#b074cf',
    500: '#8935ba',
    950: '#000000',
  },
}
SCSS
$custom: #8935ba;
$custom-light: #b074cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8935ba",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 277.895,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.20217,
    "h": 309.9
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#8935BA
secondary
#9CC882
accent
#DF4980
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8935BA

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

Preview Lab → · Contrast checker → · Palette generator →

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