#8F4FDB#8F4FDB

#8F4FDB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.205 H 301.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F4FDB
RGBrgb(143, 79, 219)
HSLhsl(267, 66%, 58%)
HSVhsv(267, 64%, 86%)
CMYKcmyk(34.7%, 63.9%, 0%, 14.1%)
CIE-LABlab(47.68, 53.81, -61.81)
CIE-LCHlch(47.68, 81.95, 311.04°)
OKLaboklab(57.24% 0.1061 -0.1757)
OKLCHoklch(57.24% 0.205 301.1)
XYZxyz(26.9068, 16.5459, 68.7802)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FDB #9BDB4F
analogous
#4F55DB #8F4FDB #D54FDB
triadic
#8F4FDB #DB8F4F #4FDB8F
tetradic
#8F4FDB #DB4F55 #9BDB4F #4FDBD5
square
#8F4FDB #DB4F55 #9BDB4F #4FDBD5
split-complementary
#8F4FDB #DBD54F #55DB4F
monochromatic
#531E92 #7028C5 #8F4FDB #AF82E5 #D0B5F0

Accessibility & contrast

On white

4.87
#8F4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8F4FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FDB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FDB#FFFFFF#000000##FFFFFF
##8F4FDB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#1370D8
Tritanopia (blue-blind)
#7F6E8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4fdb;
/* rgb */ color: rgb(143, 79, 219);
/* oklch */ color: oklch(57.2% 0.205 301.1);
Tailwind
colors: {
  custom: {
    50: '#b584e7',
    500: '#8f4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fdb;
$custom-light: #b584e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fdb",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 267.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.20525,
    "h": 301.1
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#8F4FDB
secondary
#C5DFA7
accent
#E93F9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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