#8D5BF2#8D5BF2

#8D5BF2 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.216 H 294.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D5BF2
RGBrgb(141, 91, 242)
HSLhsl(260, 85%, 65%)
HSVhsv(260, 62%, 95%)
CMYKcmyk(41.7%, 62.4%, 0%, 5.1%)
CIE-LABlab(51.33, 53.02, -68.89)
CIE-LCHlch(51.33, 86.93, 307.59°)
OKLaboklab(60.32% 0.0885 -0.1966)
OKLCHoklch(60.32% 0.216 294.2)
XYZxyz(30.7483, 19.5549, 86.1416)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BF2 #C0F25B
analogous
#5B74F2 #8D5BF2 #D95BF2
triadic
#8D5BF2 #F28D5B #5BF28D
tetradic
#8D5BF2 #F25B74 #C0F25B #5BF2D9
square
#8D5BF2 #F25B74 #C0F25B #5BF2D9
split-complementary
#8D5BF2 #F2D95B #74F25B
monochromatic
#4B0FC3 #6622EE #8D5BF2 #B494F6 #DCCCFB

Accessibility & contrast

On white

4.28
#8D5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BF2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BF2#FFFFFF#000000##000000
##8D5BF21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#727E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5bf2;
/* rgb */ color: rgb(141, 91, 242);
/* oklch */ color: oklch(60.3% 0.216 294.2);
Tailwind
colors: {
  custom: {
    50: '#b58cf7',
    500: '#8d5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bf2;
$custom-light: #b58cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bf2",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 259.868,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.21561,
    "h": 294.2
  },
  "luminance": 0.19556
}

Semantic roles & 50–950 ramp

primary
#8D5BF2
secondary
#DDEEBB
accent
#E20498
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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