#8F50D3#8F50D3

#8F50D3 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.8% C 0.195 H 302.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F50D3
RGBrgb(143, 80, 211)
HSLhsl(269, 60%, 57%)
HSVhsv(269, 62%, 83%)
CMYKcmyk(32.2%, 62.1%, 0%, 17.3%)
CIE-LABlab(47.34, 51.36, -57.79)
CIE-LCHlch(47.34, 77.32, 311.62°)
OKLaboklab(56.82% 0.1056 -0.1639)
OKLCHoklch(56.82% 0.195 302.8)
XYZxyz(25.9515, 16.2801, 63.3906)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50D3 #94D350
analogous
#5053D3 #8F50D3 #D050D3
triadic
#8F50D3 #D38F50 #50D38F
tetradic
#8F50D3 #D35053 #94D350 #50D3D0
square
#8F50D3 #D35053 #94D350 #50D3D0
split-complementary
#8F50D3 #D3D050 #53D350
monochromatic
#522287 #702EB8 #8F50D3 #AE81DF #CEB2EC

Accessibility & contrast

On white

4.93
#8F50D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F50D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50D3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50D3#FFFFFF#000000##FFFFFF
##8F50D31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#2870D0
Tritanopia (blue-blind)
#826C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f50d3;
/* rgb */ color: rgb(143, 80, 211);
/* oklch */ color: oklch(56.8% 0.195 302.8);
Tailwind
colors: {
  custom: {
    50: '#b484e1',
    500: '#8f50d3',
    950: '#000000',
  },
}
SCSS
$custom: #8f50d3;
$custom-light: #b484e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50d3",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 268.855,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.19493,
    "h": 302.8
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#8F50D3
secondary
#C0DAA5
accent
#E34597
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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