#8D5CE2#8D5CE2

#8D5CE2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.195 H 296.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D5CE2
RGBrgb(141, 92, 226)
HSLhsl(262, 70%, 62%)
HSVhsv(262, 59%, 89%)
CMYKcmyk(37.6%, 59.3%, 0%, 11.4%)
CIE-LABlab(50.46, 48.33, -61.30)
CIE-LCHlch(50.46, 78.06, 308.25°)
OKLaboklab(59.35% 0.0883 -0.1743)
OKLCHoklch(59.35% 0.195 296.9)
XYZxyz(28.5356, 18.8075, 74.0636)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE2 #B1E25C
analogous
#5C6EE2 #8D5CE2 #D05CE2
triadic
#8D5CE2 #E28D5C #5CE28D
tetradic
#8D5CE2 #E25C6E #B1E25C #5CE2D0
square
#8D5CE2 #E25C6E #B1E25C #5CE2D0
split-complementary
#8D5CE2 #E2D05C #6EE25C
monochromatic
#4F1EA6 #6928D9 #8D5CE2 #B190EB #D6C4F4

Accessibility & contrast

On white

4.41
#8D5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8D5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CE2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CE2#FFFFFF#000000##000000
##8D5CE21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#2376DF
Tritanopia (blue-blind)
#797996
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ce2;
/* rgb */ color: rgb(141, 92, 226);
/* oklch */ color: oklch(59.4% 0.195 296.9);
Tailwind
colors: {
  custom: {
    50: '#b38cec',
    500: '#8d5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce2;
$custom-light: #b38cec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce2",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 261.94,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5935,
    "c": 0.19539,
    "h": 296.9
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

primary
#8D5CE2
secondary
#D3E5B4
accent
#D2148C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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