#8D5FF6#8D5FF6

#8D5FF6 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.215 H 293.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D5FF6
RGBrgb(141, 95, 246)
HSLhsl(258, 89%, 67%)
HSVhsv(258, 61%, 96%)
CMYKcmyk(42.7%, 61.4%, 0%, 3.5%)
CIE-LABlab(52.40, 51.95, -69.39)
CIE-LCHlch(52.40, 86.68, 306.82°)
OKLaboklab(61.18% 0.084 -0.1981)
OKLCHoklch(61.18% 0.215 293)
XYZxyz(31.7067, 20.5000, 89.4572)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FF6 #C8F65F
analogous
#5F7DF6 #8D5FF6 #D85FF6
triadic
#8D5FF6 #F68D5F #5FF68D
tetradic
#8D5FF6 #F65F7D #C8F65F #5FF6D8
square
#8D5FF6 #F65F7D #C8F65F #5FF6D8
split-complementary
#8D5FF6 #F6D85F #7DF65F
monochromatic
#470CCF #6425F3 #8D5FF6 #B699F9 #E0D3FD

Accessibility & contrast

On white

4.12
#8D5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8D5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FF6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FF6#FFFFFF#000000##000000
##8D5FF61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#7082A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d5ff6;
/* rgb */ color: rgb(141, 95, 246);
/* oklch */ color: oklch(61.2% 0.215 293.0);
Tailwind
colors: {
  custom: {
    50: '#b58efa',
    500: '#8d5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ff6;
$custom-light: #b58efa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ff6",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 258.278,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.21514,
    "h": 293
  },
  "luminance": 0.20501
}

Semantic roles & 50–950 ramp

primary
#8D5FF6
secondary
#E2F1C0
accent
#E600A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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