#8F5EDC#8F5EDC

#8F5EDC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.186 H 298.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8F5EDC
RGBrgb(143, 94, 220)
HSLhsl(263, 64%, 62%)
HSVhsv(263, 57%, 86%)
CMYKcmyk(35%, 57.3%, 0%, 13.7%)
CIE-LABlab(50.70, 46.16, -57.51)
CIE-LCHlch(50.70, 73.74, 308.75°)
OKLaboklab(59.45% 0.0887 -0.1631)
OKLCHoklch(59.45% 0.186 298.5)
XYZxyz(28.2455, 19.0120, 69.8779)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EDC #ABDC5E
analogous
#5E6CDC #8F5EDC #CE5EDC
triadic
#8F5EDC #DC8F5E #5EDC8F
tetradic
#8F5EDC #DC5E6C #ABDC5E #5EDCCE
square
#8F5EDC #DC5E6C #ABDC5E #5EDCCE
split-complementary
#8F5EDC #DCCE5E #6CDC5E
monochromatic
#52229D #6C2DD0 #8F5EDC #B290E7 #D5C3F2

Accessibility & contrast

On white

4.37
#8F5EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8F5EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EDC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EDC#FFFFFF#000000##000000
##8F5EDC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E0
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#7E7894
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5edc;
/* rgb */ color: rgb(143, 94, 220);
/* oklch */ color: oklch(59.5% 0.186 298.5);
Tailwind
colors: {
  custom: {
    50: '#b48de7',
    500: '#8f5edc',
    950: '#000000',
  },
}
SCSS
$custom: #8f5edc;
$custom-light: #b48de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5edc",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 263.333,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.18562,
    "h": 298.5
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#8F5EDC
secondary
#D0E2B3
accent
#CC1987
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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