#8F50DD#8F50DD

#8F50DD is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.206 H 300.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F50DD
RGBrgb(143, 80, 221)
HSLhsl(267, 67%, 59%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(35.3%, 63.8%, 0%, 13.3%)
CIE-LABlab(48.00, 53.80, -62.43)
CIE-LCHlch(48.00, 82.41, 310.75°)
OKLaboklab(57.51% 0.1049 -0.1775)
OKLCHoklch(57.51% 0.206 300.6)
XYZxyz(27.2443, 16.7972, 70.1994)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50DD #9EDD50
analogous
#5058DD #8F50DD #D650DD
triadic
#8F50DD #DD8F50 #50DD8F
tetradic
#8F50DD #DD5058 #9EDD50 #50DDD6
square
#8F50DD #DD5058 #9EDD50 #50DDD6
split-complementary
#8F50DD #DDD650 #58DD50
monochromatic
#531D96 #6F27C9 #8F50DD #B083E7 #D1B6F1

Accessibility & contrast

On white

4.82
#8F50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8F50DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50DD#FFFFFF#000000##FFFFFF
##8F50DD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#1071DA
Tritanopia (blue-blind)
#7E6F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f50dd;
/* rgb */ color: rgb(143, 80, 221);
/* oklch */ color: oklch(57.5% 0.206 300.6);
Tailwind
colors: {
  custom: {
    50: '#b585e8',
    500: '#8f50dd',
    950: '#000000',
  },
}
SCSS
$custom: #8f50dd;
$custom-light: #b585e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50dd",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 266.809,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.20616,
    "h": 300.6
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#8F50DD
secondary
#C7E0A9
accent
#EA3D9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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