#8935C5#8935C5

#8935C5 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.213 H 307.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8935C5
RGBrgb(137, 53, 197)
HSLhsl(275, 58%, 49%)
HSVhsv(275, 73%, 77%)
CMYKcmyk(30.5%, 73.1%, 0%, 22.7%)
CIE-LABlab(41.05, 59.52, -59.92)
CIE-LCHlch(41.05, 84.46, 314.81°)
OKLaboklab(51.84% 0.128 -0.1702)
OKLCHoklch(51.84% 0.213 307)
XYZxyz(21.6655, 11.8960, 53.9673)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935C5 #71C535
analogous
#4135C5 #8935C5 #C535B9
triadic
#8935C5 #C58935 #35C589
tetradic
#8935C5 #C54135 #71C535 #35B9C5
square
#8935C5 #C54135 #71C535 #35B9C5
split-complementary
#8935C5 #B9C535 #35C541
monochromatic
#461B65 #672895 #8935C5 #A562D5 #C193E2

Accessibility & contrast

On white

6.21
#8935C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8935C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935C5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935C5#FFFFFF#000000##FFFFFF
##8935C51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#7F577A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8935c5;
/* rgb */ color: rgb(137, 53, 197);
/* oklch */ color: oklch(51.8% 0.213 307.0);
Tailwind
colors: {
  custom: {
    50: '#b174d7',
    500: '#8935c5',
    950: '#000000',
  },
}
SCSS
$custom: #8935c5;
$custom-light: #b174d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8935c5",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 275,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.21297,
    "h": 307
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#8935C5
secondary
#A5CD89
accent
#E14787
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8935C5

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

Preview Lab → · Contrast checker → · Palette generator →

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