#8F50DB#8F50DB

#8F50DB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.204 H 301.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F50DB
RGBrgb(143, 80, 219)
HSLhsl(267, 66%, 59%)
HSVhsv(267, 63%, 86%)
CMYKcmyk(34.7%, 63.5%, 0%, 14.1%)
CIE-LABlab(47.87, 53.30, -61.51)
CIE-LCHlch(47.87, 81.39, 310.91°)
OKLaboklab(57.37% 0.105 -0.1748)
OKLCHoklch(57.37% 0.204 301)
XYZxyz(26.9795, 16.6913, 68.8045)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50DB #9CDB50
analogous
#5056DB #8F50DB #D450DB
triadic
#8F50DB #DB8F50 #50DB8F
tetradic
#8F50DB #DB5056 #9CDB50 #50DBD4
square
#8F50DB #DB5056 #9CDB50 #50DBD4
split-complementary
#8F50DB #DBD450 #56DB50
monochromatic
#531E92 #7029C5 #8F50DB #AF83E5 #D0B6F0

Accessibility & contrast

On white

4.84
#8F50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8F50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50DB#FFFFFF#000000##FFFFFF
##8F50DB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#1771D8
Tritanopia (blue-blind)
#7F6F8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f50db;
/* rgb */ color: rgb(143, 80, 219);
/* oklch */ color: oklch(57.4% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#b585e7',
    500: '#8f50db',
    950: '#000000',
  },
}
SCSS
$custom: #8f50db;
$custom-light: #b585e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50db",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 267.194,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.20393,
    "h": 301
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#8F50DB
secondary
#C6DFA8
accent
#E93F9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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