#8F4BD5#8F4BD5

#8F4BD5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.204 H 303.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD5
RGBrgb(143, 75, 213)
HSLhsl(270, 62%, 56%)
HSVhsv(270, 65%, 84%)
CMYKcmyk(32.9%, 64.8%, 0%, 16.5%)
CIE-LABlab(46.55, 54.36, -60.22)
CIE-LCHlch(46.55, 81.12, 312.07°)
OKLaboklab(56.29% 0.1111 -0.171)
OKLCHoklch(56.29% 0.204 303)
XYZxyz(25.8512, 15.6759, 64.6017)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD5 #91D54B
analogous
#4B4CD5 #8F4BD5 #D44BD5
triadic
#8F4BD5 #D58F4B #4BD58F
tetradic
#8F4BD5 #D54B4C #91D54B #4BD5D4
square
#8F4BD5 #D54B4C #91D54B #4BD5D4
split-complementary
#8F4BD5 #D5D44B #4CD54B
monochromatic
#521F86 #702BB8 #8F4BD5 #AE7DE1 #CDAEEC

Accessibility & contrast

On white

5.08
#8F4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8F4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD5#FFFFFF#000000##FFFFFF
##8F4BD51.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#81698A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4bd5;
/* rgb */ color: rgb(143, 75, 213);
/* oklch */ color: oklch(56.3% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#b581e3',
    500: '#8f4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd5;
$custom-light: #b581e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd5",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 269.565,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.20392,
    "h": 303
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#8F4BD5
secondary
#BEDAA2
accent
#E54395
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8F4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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