#8F4BE1#8F4BE1

#8F4BE1 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.217 H 300.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F4BE1
RGBrgb(143, 75, 225)
HSLhsl(267, 71%, 59%)
HSVhsv(267, 67%, 88%)
CMYKcmyk(36.4%, 66.7%, 0%, 11.8%)
CIE-LABlab(47.38, 57.25, -65.71)
CIE-LCHlch(47.38, 87.16, 311.06°)
OKLaboklab(57.15% 0.1098 -0.1871)
OKLCHoklch(57.15% 0.217 300.4)
XYZxyz(27.4311, 16.3078, 72.9221)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BE1 #9DE14B
analogous
#4B52E1 #8F4BE1 #DA4BE1
triadic
#8F4BE1 #E18F4B #4BE18F
tetradic
#8F4BE1 #E14B52 #9DE14B #4BE1DA
square
#8F4BE1 #E14B52 #9DE14B #4BE1DA
split-complementary
#8F4BE1 #E1DA4B #52E14B
monochromatic
#531998 #6F22CD #8F4BE1 #B07FEA #D0B4F2

Accessibility & contrast

On white

4.93
#8F4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BE1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BE1#FFFFFF#000000##FFFFFF
##8F4BE11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#7D6E90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4be1;
/* rgb */ color: rgb(143, 75, 225);
/* oklch */ color: oklch(57.1% 0.217 300.4);
Tailwind
colors: {
  custom: {
    50: '#b682eb',
    500: '#8f4be1',
    950: '#000000',
  },
}
SCSS
$custom: #8f4be1;
$custom-light: #b682eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4be1",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 267.2,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.21699,
    "h": 300.4
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#8F4BE1
secondary
#C7E1A6
accent
#EE3A9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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