#8F4CDE#8F4CDE

#8F4CDE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.212 H 300.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F4CDE
RGBrgb(143, 76, 222)
HSLhsl(268, 69%, 58%)
HSVhsv(268, 66%, 87%)
CMYKcmyk(35.6%, 65.8%, 0%, 12.9%)
CIE-LABlab(47.34, 56.04, -64.06)
CIE-LCHlch(47.34, 85.11, 311.18°)
OKLaboklab(57.06% 0.1091 -0.1823)
OKLCHoklch(57.06% 0.212 300.9)
XYZxyz(27.0938, 16.2823, 70.8085)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CDE #9BDE4C
analogous
#4C52DE #8F4CDE #D84CDE
triadic
#8F4CDE #DE8F4C #4CDE8F
tetradic
#8F4CDE #DE4C52 #9BDE4C #4CDED8
square
#8F4CDE #DE4C52 #9BDE4C #4CDED8
split-complementary
#8F4CDE #DED84C #52DE4C
monochromatic
#531B94 #7025C8 #8F4CDE #AF80E8 #D0B3F1

Accessibility & contrast

On white

4.93
#8F4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F4CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CDE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CDE#FFFFFF#000000##FFFFFF
##8F4CDE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#7E6D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4cde;
/* rgb */ color: rgb(143, 76, 222);
/* oklch */ color: oklch(57.1% 0.212 300.9);
Tailwind
colors: {
  custom: {
    50: '#b582e9',
    500: '#8f4cde',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cde;
$custom-light: #b582e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cde",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 267.534,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.21246,
    "h": 300.9
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#8F4CDE
secondary
#C5E0A6
accent
#EC3C9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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