#8F4BD0#8F4BD0

#8F4BD0 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.198 H 304.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD0
RGBrgb(143, 75, 208)
HSLhsl(271, 59%, 55%)
HSVhsv(271, 64%, 82%)
CMYKcmyk(31.3%, 63.9%, 0%, 18.4%)
CIE-LABlab(46.21, 53.17, -57.89)
CIE-LCHlch(46.21, 78.60, 312.56°)
OKLaboklab(55.94% 0.1115 -0.1641)
OKLCHoklch(55.94% 0.198 304.2)
XYZxyz(25.2264, 15.4259, 61.3108)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD0 #8CD04B
analogous
#4D4BD0 #8F4BD0 #D04BCE
triadic
#8F4BD0 #D08F4B #4BD08F
tetradic
#8F4BD0 #D04D4B #8CD04B #4BCED0
square
#8F4BD0 #D04D4B #8CD04B #4BCED0
split-complementary
#8F4BD0 #CED04B #4BD04D
monochromatic
#51217F #702EB0 #8F4BD0 #AD7CDD #CBACE9

Accessibility & contrast

On white

5.14
#8F4BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8F4BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD0#FFFFFF#000000##FFFFFF
##8F4BD01.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#246DCD
Tritanopia (blue-blind)
#836887
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4bd0;
/* rgb */ color: rgb(143, 75, 208);
/* oklch */ color: oklch(55.9% 0.198 304.2);
Tailwind
colors: {
  custom: {
    50: '#b481df',
    500: '#8f4bd0',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd0;
$custom-light: #b481df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd0",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 270.677,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.19845,
    "h": 304.2
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#8F4BD0
secondary
#BBD7A0
accent
#E24692
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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