#8F4EEB#8F4EEB

#8F4EEB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.224 H 298.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8F4EEB
RGBrgb(143, 78, 235)
HSLhsl(265, 80%, 61%)
HSVhsv(265, 67%, 92%)
CMYKcmyk(39.1%, 66.8%, 0%, 7.8%)
CIE-LABlab(48.62, 58.25, -69.35)
CIE-LCHlch(48.62, 90.57, 310.03°)
OKLaboklab(58.26% 0.1054 -0.1978)
OKLCHoklch(58.26% 0.224 298.1)
XYZxyz(29.0437, 17.2861, 80.3875)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EEB #AAEB4E
analogous
#4E5CEB #8F4EEB #DE4EEB
triadic
#8F4EEB #EB8F4E #4EEB8F
tetradic
#8F4EEB #EB4E5C #AAEB4E #4EEBDE
square
#8F4EEB #EB4E5C #AAEB4E #4EEBDE
split-complementary
#8F4EEB #EBDE4E #5CEB4E
monochromatic
#5213AB #6D1AE2 #8F4EEB #B285F1 #D5BCF7

Accessibility & contrast

On white

4.71
#8F4EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8F4EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EEB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EEB#FFFFFF#000000##FFFFFF
##8F4EEB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#797396
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f4eeb;
/* rgb */ color: rgb(143, 78, 235);
/* oklch */ color: oklch(58.3% 0.224 298.1);
Tailwind
colors: {
  custom: {
    50: '#b684f2',
    500: '#8f4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4eeb;
$custom-light: #b684f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4eeb",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 264.841,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.22419,
    "h": 298.1
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#8F4EEB
secondary
#CFE8AD
accent
#DC0985
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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