#8F4BDB#8F4BDB

#8F4BDB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.210 H 301.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8F4BDB
RGBrgb(143, 75, 219)
HSLhsl(268, 67%, 58%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(34.7%, 65.8%, 0%, 14.1%)
CIE-LABlab(46.96, 55.80, -62.98)
CIE-LCHlch(46.96, 84.14, 311.54°)
OKLaboklab(56.71% 0.1105 -0.1791)
OKLCHoklch(56.71% 0.21 301.7)
XYZxyz(26.6269, 15.9862, 68.6869)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BDB #97DB4B
analogous
#4B4FDB #8F4BDB #D74BDB
triadic
#8F4BDB #DB8F4B #4BDB8F
tetradic
#8F4BDB #DB4B4F #97DB4B #4BDBD7
square
#8F4BDB #DB4B4F #97DB4B #4BDBD7
split-complementary
#8F4BDB #DBD74B #4FDB4B
monochromatic
#531D8F #7027C2 #8F4BDB #AF7EE5 #CEB1EF

Accessibility & contrast

On white

5.00
#8F4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8F4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BDB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BDB#FFFFFF#000000##FFFFFF
##8F4BDB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#7F6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4bdb;
/* rgb */ color: rgb(143, 75, 219);
/* oklch */ color: oklch(56.7% 0.210 301.7);
Tailwind
colors: {
  custom: {
    50: '#b582e7',
    500: '#8f4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bdb;
$custom-light: #b582e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bdb",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 268.333,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.21047,
    "h": 301.7
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#8F4BDB
secondary
#C3DEA4
accent
#EA3E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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