#8F50D2#8F50D2

#8F50D2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.194 H 303.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8F50D2
RGBrgb(143, 80, 210)
HSLhsl(269, 59%, 57%)
HSVhsv(269, 62%, 82%)
CMYKcmyk(31.9%, 61.9%, 0%, 17.6%)
CIE-LABlab(47.27, 51.11, -57.33)
CIE-LCHlch(47.27, 76.80, 311.72°)
OKLaboklab(56.75% 0.1056 -0.1625)
OKLCHoklch(56.75% 0.194 303)
XYZxyz(25.8265, 16.2301, 62.7324)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50D2 #93D250
analogous
#5052D2 #8F50D2 #D050D2
triadic
#8F50D2 #D28F50 #50D28F
tetradic
#8F50D2 #D25052 #93D250 #50D2D0
square
#8F50D2 #D25052 #93D250 #50D2D0
split-complementary
#8F50D2 #D2D050 #52D250
monochromatic
#522285 #702FB6 #8F50D2 #AE81DF #CDB1EB

Accessibility & contrast

On white

4.95
#8F50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8F50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50D2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50D2#FFFFFF#000000##FFFFFF
##8F50D21.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#2A70CF
Tritanopia (blue-blind)
#826B8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f50d2;
/* rgb */ color: rgb(143, 80, 210);
/* oklch */ color: oklch(56.8% 0.194 303.0);
Tailwind
colors: {
  custom: {
    50: '#b484e0',
    500: '#8f50d2',
    950: '#000000',
  },
}
SCSS
$custom: #8f50d2;
$custom-light: #b484e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50d2",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 269.077,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.19381,
    "h": 303
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#8F50D2
secondary
#C0D9A4
accent
#E24696
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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