#8F4CDA#8F4CDA

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

Color values

HEX#8F4CDA
RGBrgb(143, 76, 218)
HSLhsl(268, 66%, 58%)
HSVhsv(268, 65%, 85%)
CMYKcmyk(34.4%, 65.1%, 0%, 14.5%)
CIE-LABlab(47.07, 55.07, -62.23)
CIE-LCHlch(47.07, 83.10, 311.50°)
OKLaboklab(56.77% 0.1095 -0.1769)
OKLCHoklch(56.77% 0.208 301.8)
XYZxyz(26.5640, 16.0704, 68.0185)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CDA #97DA4C
analogous
#4C50DA #8F4CDA #D64CDA
triadic
#8F4CDA #DA8F4C #4CDA8F
tetradic
#8F4CDA #DA4C50 #97DA4C #4CDAD6
square
#8F4CDA #DA4C50 #97DA4C #4CDAD6
split-complementary
#8F4CDA #DAD64C #50DA4C
monochromatic
#531D8E #7028C1 #8F4CDA #AF7FE4 #CEB1EF

Accessibility & contrast

On white

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

On black

4.21
#8F4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F4CDA#FFFFFF#000000##FFFFFF
##8F4CDA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0B6FD7
Tritanopia (blue-blind)
#7F6C8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4cda;
/* rgb */ color: rgb(143, 76, 218);
/* oklch */ color: oklch(56.8% 0.208 301.8);
Tailwind
colors: {
  custom: {
    50: '#b582e6',
    500: '#8f4cda',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cda;
$custom-light: #b582e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cda",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 268.31,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.20808,
    "h": 301.8
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#8F4CDA
secondary
#C3DDA4
accent
#E93F99
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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