#8F50CA#8F50CA

#8F50CA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.185 H 305.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8F50CA
RGBrgb(143, 80, 202)
HSLhsl(271, 54%, 55%)
HSVhsv(271, 60%, 79%)
CMYKcmyk(29.2%, 60.4%, 0%, 20.8%)
CIE-LABlab(46.77, 49.20, -53.55)
CIE-LCHlch(46.77, 72.72, 312.57°)
OKLaboklab(56.22% 0.1059 -0.1514)
OKLCHoklch(56.22% 0.185 305)
XYZxyz(24.8547, 15.8414, 57.6140)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F50CA #8BCA50
analogous
#5250CA #8F50CA #CA50C8
triadic
#8F50CA #CA8F50 #50CA8F
tetradic
#8F50CA #CA5250 #8BCA50 #50C8CA
square
#8F50CA #CA5250 #8BCA50 #50C8CA
split-complementary
#8F50CA #C8CA50 #50CA52
monochromatic
#51257A #7033A9 #8F50CA #AD7FD8 #CBAEE6

Accessibility & contrast

On white

5.04
#8F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8F50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F50CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F50CA#FFFFFF#000000##FFFFFF
##8F50CA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106DCE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#856985
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f50ca;
/* rgb */ color: rgb(143, 80, 202);
/* oklch */ color: oklch(56.2% 0.185 305.0);
Tailwind
colors: {
  custom: {
    50: '#b484db',
    500: '#8f50ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f50ca;
$custom-light: #b484db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f50ca",
  "rgb": {
    "r": 143,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 270.984,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.18479,
    "h": 305
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#8F50CA
secondary
#BAD4A1
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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