#8F50CD#8F50CD

#8F50CD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.188 H 304.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8F50CD
RGBrgb(143, 80, 205)
HSLhsl(270, 56%, 56%)
HSVhsv(270, 61%, 80%)
CMYKcmyk(30.2%, 61%, 0%, 19.6%)
CIE-LABlab(46.95, 49.91, -54.97)
CIE-LCHlch(46.95, 74.25, 312.24°)
OKLaboklab(56.42% 0.1058 -0.1556)
OKLCHoklch(56.42% 0.188 304.2)
XYZxyz(25.2133, 15.9848, 59.5029)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50CD #8ECD50
analogous
#5050CD #8F50CD #CD50CD
triadic
#8F50CD #CD8F50 #50CD8F
tetradic
#8F50CD #CD5050 #8ECD50 #50CDCD
square
#8F50CD #CD5050 #8ECD50 #50CDCD
split-complementary
#8F50CD #CDCD50 #50CD50
monochromatic
#52247E #7032AE #8F50CD #AD80DB #CCAFE8

Accessibility & contrast

On white

5.00
#8F50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8F50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50CD#FFFFFF#000000##FFFFFF
##8F50CD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046ED1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#846A87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f50cd;
/* rgb */ color: rgb(143, 80, 205);
/* oklch */ color: oklch(56.4% 0.188 304.2);
Tailwind
colors: {
  custom: {
    50: '#b484dd',
    500: '#8f50cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f50cd;
$custom-light: #b484dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50cd",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 270.24,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.18818,
    "h": 304.2
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#8F50CD
secondary
#BCD6A2
accent
#DF4993
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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