#8D35B2#8D35B2

#8D35B2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.196 H 314.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8D35B2
RGBrgb(141, 53, 178)
HSLhsl(282, 54%, 45%)
HSVhsv(282, 70%, 70%)
CMYKcmyk(20.8%, 70.2%, 0%, 30.2%)
CIE-LABlab(40.29, 56.23, -49.97)
CIE-LCHlch(40.29, 75.22, 318.37°)
OKLaboklab(51% 0.1359 -0.1408)
OKLCHoklch(51% 0.196 314)
XYZxyz(20.2921, 11.4239, 43.2470)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D35B2 #5AB235
analogous
#4E35B2 #8D35B2 #B23598
triadic
#8D35B2 #B28D35 #35B28D
tetradic
#8D35B2 #B24E35 #5AB235 #3598B2
square
#8D35B2 #B24E35 #5AB235 #3598B2
split-complementary
#8D35B2 #98B235 #35B24E
monochromatic
#421954 #682783 #8D35B2 #AA57CD #C286DB

Accessibility & contrast

On white

6.39
#8D35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8D35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D35B2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D35B2#FFFFFF#000000##FFFFFF
##8D35B21.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#894F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d35b2;
/* rgb */ color: rgb(141, 53, 178);
/* oklch */ color: oklch(51.0% 0.196 314.0);
Tailwind
colors: {
  custom: {
    50: '#b274ca',
    500: '#8d35b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d35b2;
$custom-light: #b274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d35b2",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 282.24,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.19574,
    "h": 314
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#8D35B2
secondary
#93C57E
accent
#DD4A76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D35B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8D35B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva