#8F4CDB#8F4CDB

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

Color values

HEX#8F4CDB
RGBrgb(143, 76, 219)
HSLhsl(268, 67%, 58%)
HSVhsv(268, 65%, 86%)
CMYKcmyk(34.7%, 65.3%, 0%, 14.1%)
CIE-LABlab(47.14, 55.31, -62.69)
CIE-LCHlch(47.14, 83.60, 311.42°)
OKLaboklab(56.84% 0.1094 -0.1783)
OKLCHoklch(56.84% 0.209 301.5)
XYZxyz(26.6953, 16.1229, 68.7097)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CDB #98DB4C
analogous
#4C50DB #8F4CDB #D74CDB
triadic
#8F4CDB #DB8F4C #4CDB8F
tetradic
#8F4CDB #DB4C50 #98DB4C #4CDBD7
square
#8F4CDB #DB4C50 #98DB4C #4CDBD7
split-complementary
#8F4CDB #DBD74C #50DB4C
monochromatic
#531D90 #7027C3 #8F4CDB #AF7FE5 #CFB2EF

Accessibility & contrast

On white

4.97
#8F4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8F4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CDB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CDB#FFFFFF#000000##FFFFFF
##8F4CDB1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#056FD8
Tritanopia (blue-blind)
#7F6C8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4cdb;
/* rgb */ color: rgb(143, 76, 219);
/* oklch */ color: oklch(56.8% 0.209 301.5);
Tailwind
colors: {
  custom: {
    50: '#b582e7',
    500: '#8f4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cdb;
$custom-light: #b582e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cdb",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 268.112,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.20918,
    "h": 301.5
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#8F4CDB
secondary
#C3DEA5
accent
#E93E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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