#8D5CF2#8D5CF2

#8D5CF2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.214 H 294.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D5CF2
RGBrgb(141, 92, 242)
HSLhsl(260, 85%, 65%)
HSVhsv(260, 62%, 95%)
CMYKcmyk(41.7%, 62%, 0%, 5.1%)
CIE-LABlab(51.53, 52.49, -68.57)
CIE-LCHlch(51.53, 86.36, 307.44°)
OKLaboklab(60.47% 0.0875 -0.1956)
OKLCHoklch(60.47% 0.214 294.1)
XYZxyz(30.8344, 19.7270, 86.1703)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CF2 #C1F25C
analogous
#5C76F2 #8D5CF2 #D85CF2
triadic
#8D5CF2 #F28D5C #5CF28D
tetradic
#8D5CF2 #F25C76 #C1F25C #5CF2D8
square
#8D5CF2 #F25C76 #C1F25C #5CF2D8
split-complementary
#8D5CF2 #F2D85C #76F25C
monochromatic
#4B10C4 #6523ED #8D5CF2 #B595F7 #DCCDFB

Accessibility & contrast

On white

4.25
#8D5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8D5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CF2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CF2#FFFFFF#000000##000000
##8D5CF21.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d5cf2;
/* rgb */ color: rgb(141, 92, 242);
/* oklch */ color: oklch(60.5% 0.214 294.1);
Tailwind
colors: {
  custom: {
    50: '#b58cf7',
    500: '#8d5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cf2;
$custom-light: #b58cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cf2",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 259.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60465,
    "c": 0.21431,
    "h": 294.1
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#8D5CF2
secondary
#DEEEBC
accent
#E20499
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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