#8F5DDD#8F5DDD

#8F5DDD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.188 H 298.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F5DDD
RGBrgb(143, 93, 221)
HSLhsl(263, 65%, 62%)
HSVhsv(263, 58%, 87%)
CMYKcmyk(35.3%, 57.9%, 0%, 13.3%)
CIE-LABlab(50.56, 46.96, -58.31)
CIE-LCHlch(50.56, 74.87, 308.84°)
OKLaboklab(59.37% 0.0899 -0.1654)
OKLCHoklch(59.37% 0.188 298.5)
XYZxyz(28.2900, 18.8885, 70.5480)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DDD #ABDD5D
analogous
#5D6BDD #8F5DDD #CF5DDD
triadic
#8F5DDD #DD8F5D #5DDD8F
tetradic
#8F5DDD #DD5D6B #ABDD5D #5DDDCF
square
#8F5DDD #DD5D6B #ABDD5D #5DDDCF
split-complementary
#8F5DDD #DDCF5D #6BDD5D
monochromatic
#52219E #6C2CD1 #8F5DDD #B290E8 #D5C2F2

Accessibility & contrast

On white

4.40
#8F5DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8F5DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DDD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DDD#FFFFFF#000000##000000
##8F5DDD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1878E1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#7E7894
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5ddd;
/* rgb */ color: rgb(143, 93, 221);
/* oklch */ color: oklch(59.4% 0.188 298.5);
Tailwind
colors: {
  custom: {
    50: '#b48de8',
    500: '#8f5ddd',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ddd;
$custom-light: #b48de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ddd",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 263.438,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.18826,
    "h": 298.5
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#8F5DDD
secondary
#D0E3B3
accent
#CD1887
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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