#8935B2#8935B2

#8935B2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.194 H 312.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8935B2
RGBrgb(137, 53, 178)
HSLhsl(280, 54%, 45%)
HSVhsv(280, 70%, 70%)
CMYKcmyk(23%, 70.2%, 0%, 30.2%)
CIE-LABlab(39.71, 55.37, -50.92)
CIE-LCHlch(39.71, 75.23, 317.40°)
OKLaboklab(50.47% 0.1308 -0.1438)
OKLCHoklch(50.47% 0.194 312.3)
XYZxyz(19.6241, 11.0795, 43.2156)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935B2 #5EB235
analogous
#4A35B2 #8935B2 #B2359C
triadic
#8935B2 #B28935 #35B289
tetradic
#8935B2 #B24A35 #5EB235 #359CB2
square
#8935B2 #B24A35 #5EB235 #359CB2
split-complementary
#8935B2 #9CB235 #35B24A
monochromatic
#401954 #652783 #8935B2 #A657CD #BF86DB

Accessibility & contrast

On white

6.53
#8935B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8935B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935B2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935B2#FFFFFF#000000##FFFFFF
##8935B21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#845070
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8935b2;
/* rgb */ color: rgb(137, 53, 178);
/* oklch */ color: oklch(50.5% 0.194 312.3);
Tailwind
colors: {
  custom: {
    50: '#af73ca',
    500: '#8935b2',
    950: '#000000',
  },
}
SCSS
$custom: #8935b2;
$custom-light: #af73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8935b2",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 280.32,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.19434,
    "h": 312.3
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#8935B2
secondary
#95C57E
accent
#DD4A7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8935B2

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

Preview Lab → · Contrast checker → · Palette generator →

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