#8F4BDD#8F4BDD

#8F4BDD is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.213 H 301.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8F4BDD
RGBrgb(143, 75, 221)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 87%)
CMYKcmyk(35.3%, 66.1%, 0%, 13.3%)
CIE-LABlab(47.10, 56.28, -63.90)
CIE-LCHlch(47.10, 85.15, 311.37°)
OKLaboklab(56.86% 0.1103 -0.1818)
OKLCHoklch(56.86% 0.213 301.2)
XYZxyz(26.8918, 16.0921, 70.0819)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BDD #99DD4B
analogous
#4B50DD #8F4BDD #D84BDD
triadic
#8F4BDD #DD8F4B #4BDD8F
tetradic
#8F4BDD #DD4B50 #99DD4B #4BDDD8
square
#8F4BDD #DD4B50 #99DD4B #4BDDD8
split-complementary
#8F4BDD #DDD84B #50DD4B
monochromatic
#531C92 #7025C5 #8F4BDD #AF7EE7 #CFB2F0

Accessibility & contrast

On white

4.98
#8F4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8F4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BDD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BDD#FFFFFF#000000##FFFFFF
##8F4BDD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#7E6C8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4bdd;
/* rgb */ color: rgb(143, 75, 221);
/* oklch */ color: oklch(56.9% 0.213 301.2);
Tailwind
colors: {
  custom: {
    50: '#b582e8',
    500: '#8f4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bdd;
$custom-light: #b582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bdd",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 267.945,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.21264,
    "h": 301.2
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#8F4BDD
secondary
#C4DFA5
accent
#EB3D9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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