#8935C8#8935C8

#8935C8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.216 H 306.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8935C8
RGBrgb(137, 53, 200)
HSLhsl(274, 58%, 50%)
HSVhsv(274, 74%, 78%)
CMYKcmyk(31.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(41.27, 60.19, -61.30)
CIE-LCHlch(41.27, 85.91, 314.48°)
OKLaboklab(52.07% 0.1275 -0.1743)
OKLCHoklch(52.07% 0.216 306.2)
XYZxyz(22.0127, 12.0349, 55.7957)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935C8 #74C835
analogous
#4035C8 #8935C8 #C835BE
triadic
#8935C8 #C88935 #35C889
tetradic
#8935C8 #C84035 #74C835 #35BEC8
square
#8935C8 #C84035 #74C835 #35BEC8
split-complementary
#8935C8 #BEC835 #35C840
monochromatic
#471B67 #682898 #8935C8 #A564D6 #C195E3

Accessibility & contrast

On white

6.16
#8935C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8935C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935C8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935C8#FFFFFF#000000##FFFFFF
##8935C81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#7E597C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8935c8;
/* rgb */ color: rgb(137, 53, 200);
/* oklch */ color: oklch(52.1% 0.216 306.2);
Tailwind
colors: {
  custom: {
    50: '#b174da',
    500: '#8935c8',
    950: '#000000',
  },
}
SCSS
$custom: #8935c8;
$custom-light: #b174da;
$custom-dark: #000000;
JSON
{
  "hex": "#8935c8",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 274.286,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.21591,
    "h": 306.2
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#8935C8
secondary
#A8CE8B
accent
#E14689
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8935C8

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

Preview Lab → · Contrast checker → · Palette generator →

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