#8F4DF7#8F4DF7

#8F4DF7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.238 H 296.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F4DF7
RGBrgb(143, 77, 247)
HSLhsl(263, 91%, 64%)
HSVhsv(263, 69%, 97%)
CMYKcmyk(42.1%, 68.8%, 0%, 3.1%)
CIE-LABlab(49.33, 61.72, -74.93)
CIE-LCHlch(49.33, 97.07, 309.48°)
OKLaboklab(59.04% 0.1046 -0.2142)
OKLCHoklch(59.04% 0.238 296)
XYZxyz(30.7656, 17.8621, 89.8044)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DF7 #B5F74D
analogous
#4D60F7 #8F4DF7 #E44DF7
triadic
#8F4DF7 #F78F4D #4DF78F
tetradic
#8F4DF7 #F74D60 #B5F74D #4DF7E4
square
#8F4DF7 #F74D60 #B5F74D #4DF7E4
split-complementary
#8F4DF7 #F7E44D #60F74D
monochromatic
#5009C1 #6A12F4 #8F4DF7 #B488FA #D9C2FC

Accessibility & contrast

On white

4.59
#8F4DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8F4DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DF7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DF7#FFFFFF#000000##FFFFFF
##8F4DF71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#73779D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f4df7;
/* rgb */ color: rgb(143, 77, 247);
/* oklch */ color: oklch(59.0% 0.238 296.0);
Tailwind
colors: {
  custom: {
    50: '#b784fb',
    500: '#8f4df7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4df7;
$custom-light: #b784fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4df7",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 247
  },
  "hsl": {
    "h": 263.294,
    "s": 91.398,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.23841,
    "h": 296
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#8F4DF7
secondary
#D7EEB2
accent
#E6008C
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8F4DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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