#8935C7#8935C7

#8935C7 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.215 H 306.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8935C7
RGBrgb(137, 53, 199)
HSLhsl(275, 58%, 49%)
HSVhsv(275, 73%, 78%)
CMYKcmyk(31.2%, 73.4%, 0%, 22%)
CIE-LABlab(41.20, 59.97, -60.84)
CIE-LCHlch(41.20, 85.43, 314.59°)
OKLaboklab(51.99% 0.1277 -0.1729)
OKLCHoklch(51.99% 0.215 306.4)
XYZxyz(21.8962, 11.9883, 55.1822)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935C7 #73C735
analogous
#4035C7 #8935C7 #C735BC
triadic
#8935C7 #C78935 #35C789
tetradic
#8935C7 #C74035 #73C735 #35BCC7
square
#8935C7 #C74035 #73C735 #35BCC7
split-complementary
#8935C7 #BCC735 #35C740
monochromatic
#461B66 #682897 #8935C7 #A564D6 #C194E2

Accessibility & contrast

On white

6.18
#8935C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8935C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935C7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935C7#FFFFFF#000000##FFFFFF
##8935C71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#7E587B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8935c7;
/* rgb */ color: rgb(137, 53, 199);
/* oklch */ color: oklch(52.0% 0.215 306.4);
Tailwind
colors: {
  custom: {
    50: '#b174d9',
    500: '#8935c7',
    950: '#000000',
  },
}
SCSS
$custom: #8935c7;
$custom-light: #b174d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8935c7",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 274.521,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.21494,
    "h": 306.4
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#8935C7
secondary
#A7CE8A
accent
#E14788
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8935C7

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

Preview Lab → · Contrast checker → · Palette generator →

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