#8935C2#8935C2

#8935C2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.210 H 307.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8935C2
RGBrgb(137, 53, 194)
HSLhsl(276, 57%, 48%)
HSVhsv(276, 73%, 76%)
CMYKcmyk(29.4%, 72.7%, 0%, 23.9%)
CIE-LABlab(40.83, 58.86, -58.52)
CIE-LCHlch(40.83, 83.00, 315.17°)
OKLaboklab(51.62% 0.1286 -0.1661)
OKLCHoklch(51.62% 0.21 307.7)
XYZxyz(21.3252, 11.7599, 52.1749)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935C2 #6EC235
analogous
#4335C2 #8935C2 #C235B4
triadic
#8935C2 #C28935 #35C289
tetradic
#8935C2 #C24335 #6EC235 #35B4C2
square
#8935C2 #C24335 #6EC235 #35B4C2
split-complementary
#8935C2 #B4C235 #35C243
monochromatic
#451B62 #672892 #8935C2 #A560D4 #C091E1

Accessibility & contrast

On white

6.26
#8935C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8935C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935C2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935C2#FFFFFF#000000##FFFFFF
##8935C21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#805679
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8935c2;
/* rgb */ color: rgb(137, 53, 194);
/* oklch */ color: oklch(51.6% 0.210 307.7);
Tailwind
colors: {
  custom: {
    50: '#b074d5',
    500: '#8935c2',
    950: '#000000',
  },
}
SCSS
$custom: #8935c2;
$custom-light: #b074d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8935c2",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 275.745,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.21003,
    "h": 307.7
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#8935C2
secondary
#A3CC87
accent
#E04785
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8935C2

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

Preview Lab → · Contrast checker → · Palette generator →

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