#8F50DF#8F50DF

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

Color values

HEX#8F50DF
RGBrgb(143, 80, 223)
HSLhsl(266, 69%, 59%)
HSVhsv(266, 64%, 87%)
CMYKcmyk(35.9%, 64.1%, 0%, 12.5%)
CIE-LABlab(48.14, 54.29, -63.34)
CIE-LCHlch(48.14, 83.42, 310.60°)
OKLaboklab(57.65% 0.1047 -0.1802)
OKLCHoklch(57.65% 0.208 300.2)
XYZxyz(27.5124, 16.9044, 71.6111)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50DF #A0DF50
analogous
#5059DF #8F50DF #D750DF
triadic
#8F50DF #DF8F50 #50DF8F
tetradic
#8F50DF #DF5059 #A0DF50 #50DFD7
square
#8F50DF #DF5059 #A0DF50 #50DFD7
split-complementary
#8F50DF #DFD750 #59DF50
monochromatic
#531C99 #6F25CC #8F50DF #B084E8 #D1B7F2

Accessibility & contrast

On white

4.79
#8F50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8F50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50DF#FFFFFF#000000##FFFFFF
##8F50DF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0671DC
Tritanopia (blue-blind)
#7D7090
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f50df;
/* rgb */ color: rgb(143, 80, 223);
/* oklch */ color: oklch(57.6% 0.208 300.2);
Tailwind
colors: {
  custom: {
    50: '#b585ea',
    500: '#8f50df',
    950: '#000000',
  },
}
SCSS
$custom: #8f50df;
$custom-light: #b585ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50df",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 266.434,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.20839,
    "h": 300.2
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#8F50DF
secondary
#C9E1AA
accent
#EC3C9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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