#8F4CDD#8F4CDD

#8F4CDD is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.211 H 301.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8F4CDD
RGBrgb(143, 76, 221)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 87%)
CMYKcmyk(35.3%, 65.6%, 0%, 13.3%)
CIE-LABlab(47.27, 55.79, -63.61)
CIE-LCHlch(47.27, 84.61, 311.25°)
OKLaboklab(56.98% 0.1092 -0.181)
OKLCHoklch(56.98% 0.211 301.1)
XYZxyz(26.9601, 16.2288, 70.1047)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CDD #9ADD4C
analogous
#4C51DD #8F4CDD #D74CDD
triadic
#8F4CDD #DD8F4C #4CDD8F
tetradic
#8F4CDD #DD4C51 #9ADD4C #4CDDD7
square
#8F4CDD #DD4C51 #9ADD4C #4CDDD7
split-complementary
#8F4CDD #DDD74C #51DD4C
monochromatic
#531C93 #7026C6 #8F4CDD #AF7FE7 #CFB3F1

Accessibility & contrast

On white

4.95
#8F4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8F4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CDD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CDD#FFFFFF#000000##FFFFFF
##8F4CDD1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f4cdd;
/* rgb */ color: rgb(143, 76, 221);
/* oklch */ color: oklch(57.0% 0.211 301.1);
Tailwind
colors: {
  custom: {
    50: '#b582e8',
    500: '#8f4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cdd;
$custom-light: #b582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cdd",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 267.724,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.21137,
    "h": 301.1
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#8F4CDD
secondary
#C5DFA6
accent
#EB3D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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