#8F4DDB#8F4DDB

#8F4DDB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.208 H 301.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F4DDB
RGBrgb(143, 77, 219)
HSLhsl(268, 66%, 58%)
HSVhsv(268, 65%, 86%)
CMYKcmyk(34.7%, 64.8%, 0%, 14.1%)
CIE-LABlab(47.32, 54.81, -62.40)
CIE-LCHlch(47.32, 83.06, 311.30°)
OKLaboklab(56.97% 0.1083 -0.1774)
OKLCHoklch(56.97% 0.208 301.4)
XYZxyz(26.7647, 16.2617, 68.7329)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DDB #99DB4D
analogous
#4D52DB #8F4DDB #D64DDB
triadic
#8F4DDB #DB8F4D #4DDB8F
tetradic
#8F4DDB #DB4D52 #99DB4D #4DDBD6
square
#8F4DDB #DB4D52 #99DB4D #4DDBD6
split-complementary
#8F4DDB #DBD64D #52DB4D
monochromatic
#531D90 #7027C3 #8F4DDB #AF80E5 #CFB3F0

Accessibility & contrast

On white

4.94
#8F4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4DDB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DDB#FFFFFF#000000##FFFFFF
##8F4DDB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0B6FD8
Tritanopia (blue-blind)
#7F6D8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4ddb;
/* rgb */ color: rgb(143, 77, 219);
/* oklch */ color: oklch(57.0% 0.208 301.4);
Tailwind
colors: {
  custom: {
    50: '#b583e7',
    500: '#8f4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ddb;
$custom-light: #b583e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ddb",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 267.887,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.20787,
    "h": 301.4
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#8F4DDB
secondary
#C4DEA6
accent
#E93F9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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