#8F5EF7#8F5EF7

#8F5EF7 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.218 H 293.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F5EF7
RGBrgb(143, 94, 247)
HSLhsl(259, 91%, 67%)
HSVhsv(259, 62%, 97%)
CMYKcmyk(42.1%, 61.9%, 0%, 3.1%)
CIE-LABlab(52.46, 53.15, -69.83)
CIE-LCHlch(52.46, 87.76, 307.27°)
OKLaboklab(61.3% 0.0876 -0.1993)
OKLCHoklch(61.3% 0.218 293.7)
XYZxyz(32.1144, 20.5596, 90.2540)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EF7 #C6F75E
analogous
#5E79F7 #8F5EF7 #DC5EF7
triadic
#8F5EF7 #F78F5E #5EF78F
tetradic
#8F5EF7 #F75E79 #C6F75E #5EF7DC
square
#8F5EF7 #F75E79 #C6F75E #5EF7DC
split-complementary
#8F5EF7 #F7DC5E #79F75E
monochromatic
#4A0AD0 #6624F4 #8F5EF7 #B898FA #E0D3FD

Accessibility & contrast

On white

4.11
#8F5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8F5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EF7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EF7#FFFFFF#000000##000000
##8F5EF71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#7381A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f5ef7;
/* rgb */ color: rgb(143, 94, 247);
/* oklch */ color: oklch(61.3% 0.218 293.7);
Tailwind
colors: {
  custom: {
    50: '#b68efb',
    500: '#8f5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ef7;
$custom-light: #b68efb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ef7",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 259.216,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.613,
    "c": 0.21769,
    "h": 293.7
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#8F5EF7
secondary
#E1F1C0
accent
#E6009C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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