#8F5ED2#8F5ED2

#8F5ED2 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.174 H 300.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8F5ED2
RGBrgb(143, 94, 210)
HSLhsl(265, 56%, 60%)
HSVhsv(265, 55%, 82%)
CMYKcmyk(31.9%, 55.2%, 0%, 17.6%)
CIE-LABlab(50.09, 43.63, -52.80)
CIE-LCHlch(50.09, 68.49, 309.57°)
OKLaboklab(58.81% 0.0885 -0.1492)
OKLCHoklch(58.81% 0.174 300.7)
XYZxyz(26.9605, 18.4980, 63.1104)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ED2 #A1D25E
analogous
#5E67D2 #8F5ED2 #C95ED2
triadic
#8F5ED2 #D28F5E #5ED28F
tetradic
#8F5ED2 #D25E67 #A1D25E #5ED2C9
square
#8F5ED2 #D25E67 #A1D25E #5ED2C9
split-complementary
#8F5ED2 #D2C95E #67D25E
monochromatic
#53288E #6F35BE #8F5ED2 #B08EDF #D2BEED

Accessibility & contrast

On white

4.47
#8F5ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8F5ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5ED2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ED2#FFFFFF#000000##000000
##8F5ED21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#81758F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5ed2;
/* rgb */ color: rgb(143, 94, 210);
/* oklch */ color: oklch(58.8% 0.174 300.7);
Tailwind
colors: {
  custom: {
    50: '#b38de0',
    500: '#8f5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ed2;
$custom-light: #b38de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ed2",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 265.345,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.17353,
    "h": 300.7
  },
  "luminance": 0.18498
}

Semantic roles & 50–950 ramp

primary
#8F5ED2
secondary
#C9DCAF
accent
#E048A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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