#8F50DE#8F50DE

#8F50DE is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.207 H 300.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F50DE
RGBrgb(143, 80, 222)
HSLhsl(267, 68%, 59%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(35.6%, 64%, 0%, 12.9%)
CIE-LABlab(48.07, 54.04, -62.89)
CIE-LCHlch(48.07, 82.92, 310.67°)
OKLaboklab(57.58% 0.1048 -0.1788)
OKLCHoklch(57.58% 0.207 300.4)
XYZxyz(27.3780, 16.8507, 70.9032)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50DE #9FDE50
analogous
#5058DE #8F50DE #D650DE
triadic
#8F50DE #DE8F50 #50DE8F
tetradic
#8F50DE #DE5058 #9FDE50 #50DED6
square
#8F50DE #DE5058 #9FDE50 #50DED6
split-complementary
#8F50DE #DED650 #58DE50
monochromatic
#531C97 #6F26CB #8F50DE #B083E8 #D1B7F1

Accessibility & contrast

On white

4.81
#8F50DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8F50DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50DE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50DE#FFFFFF#000000##FFFFFF
##8F50DE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#0B71DB
Tritanopia (blue-blind)
#7E7090
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f50de;
/* rgb */ color: rgb(143, 80, 222);
/* oklch */ color: oklch(57.6% 0.207 300.4);
Tailwind
colors: {
  custom: {
    50: '#b585e9',
    500: '#8f50de',
    950: '#000000',
  },
}
SCSS
$custom: #8f50de;
$custom-light: #b585e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50de",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 266.62,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.20728,
    "h": 300.4
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#8F50DE
secondary
#C8E1A9
accent
#EB3D9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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