#8D5CE7#8D5CE7

#8D5CE7 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.201 H 296.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D5CE7
RGBrgb(141, 92, 231)
HSLhsl(261, 74%, 63%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(39%, 60.2%, 0%, 9.4%)
CIE-LABlab(50.79, 49.62, -63.60)
CIE-LCHlch(50.79, 80.67, 307.96°)
OKLaboklab(59.69% 0.0881 -0.181)
OKLCHoklch(59.69% 0.201 296)
XYZxyz(29.2317, 19.0860, 77.7297)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE7 #B6E75C
analogous
#5C70E7 #8D5CE7 #D25CE7
triadic
#8D5CE7 #E78D5C #5CE78D
tetradic
#8D5CE7 #E75C70 #B6E75C #5CE7D2
square
#8D5CE7 #E75C70 #B6E75C #5CE7D2
split-complementary
#8D5CE7 #E7D25C #70E75C
monochromatic
#4E1AAF #6827DF #8D5CE7 #B291EF #D8C7F7

Accessibility & contrast

On white

4.36
#8D5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8D5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CE7#FFFFFF#000000##000000
##8D5CE71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1677E4
Tritanopia (blue-blind)
#777B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5ce7;
/* rgb */ color: rgb(141, 92, 231);
/* oklch */ color: oklch(59.7% 0.201 296.0);
Tailwind
colors: {
  custom: {
    50: '#b48cef',
    500: '#8d5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce7;
$custom-light: #b48cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce7",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 261.151,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.20134,
    "h": 296
  },
  "luminance": 0.19087
}

Semantic roles & 50–950 ramp

primary
#8D5CE7
secondary
#D7E8B7
accent
#D60F90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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