#8F5EDD#8F5EDD

#8F5EDD is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.187 H 298.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F5EDD
RGBrgb(143, 94, 221)
HSLhsl(263, 65%, 62%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(35.3%, 57.5%, 0%, 13.3%)
CIE-LABlab(50.76, 46.41, -57.98)
CIE-LCHlch(50.76, 74.27, 308.68°)
OKLaboklab(59.52% 0.0887 -0.1645)
OKLCHoklch(59.52% 0.187 298.3)
XYZxyz(28.3783, 19.0652, 70.5774)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EDD #ACDD5E
analogous
#5E6DDD #8F5EDD #CF5EDD
triadic
#8F5EDD #DD8F5E #5EDD8F
tetradic
#8F5EDD #DD5E6D #ACDD5E #5EDDCF
square
#8F5EDD #DD5E6D #ACDD5E #5EDDCF
split-complementary
#8F5EDD #DDCF5E #6DDD5E
monochromatic
#52229F #6C2CD2 #8F5EDD #B291E8 #D5C3F2

Accessibility & contrast

On white

4.36
#8F5EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8F5EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EDD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EDD#FFFFFF#000000##000000
##8F5EDD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E1
Deuteranopia (green-blind)
#3278DA
Tritanopia (blue-blind)
#7E7895
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5edd;
/* rgb */ color: rgb(143, 94, 221);
/* oklch */ color: oklch(59.5% 0.187 298.3);
Tailwind
colors: {
  custom: {
    50: '#b48de8',
    500: '#8f5edd',
    950: '#000000',
  },
}
SCSS
$custom: #8f5edd;
$custom-light: #b48de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5edd",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 263.15,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.18682,
    "h": 298.3
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#8F5EDD
secondary
#D1E3B4
accent
#CD1987
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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