#8F50DA#8F50DA

#8F50DA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.203 H 301.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8F50DA
RGBrgb(143, 80, 218)
HSLhsl(267, 65%, 58%)
HSVhsv(267, 63%, 85%)
CMYKcmyk(34.4%, 63.3%, 0%, 14.5%)
CIE-LABlab(47.80, 53.06, -61.05)
CIE-LCHlch(47.80, 80.88, 311.00°)
OKLaboklab(57.3% 0.1051 -0.1734)
OKLCHoklch(57.3% 0.203 301.2)
XYZxyz(26.8482, 16.6388, 68.1132)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50DA #9BDA50
analogous
#5056DA #8F50DA #D450DA
triadic
#8F50DA #DA8F50 #50DA8F
tetradic
#8F50DA #DA5056 #9BDA50 #50DAD4
square
#8F50DA #DA5056 #9BDA50 #50DAD4
split-complementary
#8F50DA #DAD450 #56DA50
monochromatic
#531F91 #7029C3 #8F50DA #AF83E5 #D0B5EF

Accessibility & contrast

On white

4.85
#8F50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8F50DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50DA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50DA#FFFFFF#000000##FFFFFF
##8F50DA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#1A71D7
Tritanopia (blue-blind)
#7F6E8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f50da;
/* rgb */ color: rgb(143, 80, 218);
/* oklch */ color: oklch(57.3% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#b584e6',
    500: '#8f50da',
    950: '#000000',
  },
}
SCSS
$custom: #8f50da;
$custom-light: #b584e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50da",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 267.391,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.2028,
    "h": 301.2
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#8F50DA
secondary
#C5DEA8
accent
#E8409B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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