#8F4FDF#8F4FDF

#8F4FDF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.210 H 300.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F4FDF
RGBrgb(143, 79, 223)
HSLhsl(267, 69%, 59%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(35.9%, 64.6%, 0%, 12.5%)
CIE-LABlab(47.96, 54.79, -63.64)
CIE-LCHlch(47.96, 83.98, 310.73°)
OKLaboklab(57.52% 0.1058 -0.1811)
OKLCHoklch(57.52% 0.21 300.3)
XYZxyz(27.4397, 16.7591, 71.5869)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FDF #9FDF4F
analogous
#4F57DF #8F4FDF #D74FDF
triadic
#8F4FDF #DF8F4F #4FDF8F
tetradic
#8F4FDF #DF4F57 #9FDF4F #4FDFD7
square
#8F4FDF #DF4F57 #9FDF4F #4FDFD7
split-complementary
#8F4FDF #DFD74F #57DF4F
monochromatic
#531C98 #6F25CC #8F4FDF #B083E8 #D1B7F2

Accessibility & contrast

On white

4.83
#8F4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8F4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FDF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FDF#FFFFFF#000000##FFFFFF
##8F4FDF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0071DC
Tritanopia (blue-blind)
#7E6F90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f4fdf;
/* rgb */ color: rgb(143, 79, 223);
/* oklch */ color: oklch(57.5% 0.210 300.3);
Tailwind
colors: {
  custom: {
    50: '#b584ea',
    500: '#8f4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fdf;
$custom-light: #b584ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fdf",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 266.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.2097,
    "h": 300.3
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#8F4FDF
secondary
#C8E1A9
accent
#EC3C9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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