#8F5DFA#8F5DFA

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

Color values

HEX#8F5DFA
RGBrgb(143, 93, 250)
HSLhsl(259, 94%, 67%)
HSVhsv(259, 63%, 98%)
CMYKcmyk(42.8%, 62.8%, 0%, 2%)
CIE-LABlab(52.48, 54.46, -71.48)
CIE-LCHlch(52.48, 89.86, 307.30°)
OKLaboklab(61.37% 0.0884 -0.2042)
OKLCHoklch(61.37% 0.222 293.4)
XYZxyz(32.4927, 20.5696, 92.6823)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DFA #C8FA5D
analogous
#5D7AFA #8F5DFA #DD5DFA
triadic
#8F5DFA #FA8F5D #5DFA8F
tetradic
#8F5DFA #FA5D7A #C8FA5D #5DFADD
square
#8F5DFA #FA5D7A #C8FA5D #5DFADD
split-complementary
#8F5DFA #FADD5D #7AFA5D
monochromatic
#4907D6 #6622F8 #8F5DFA #B898FC #E1D4FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5DFA#FFFFFF#000000##000000
##8F5DFA1.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)
#007FFF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#7182A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f5dfa;
/* rgb */ color: rgb(143, 93, 250);
/* oklch */ color: oklch(61.4% 0.222 293.4);
Tailwind
colors: {
  custom: {
    50: '#b78dfd',
    500: '#8f5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dfa;
$custom-light: #b78dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dfa",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 259.108,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.22247,
    "h": 293.4
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#8F5DFA
secondary
#E2F2C1
accent
#E6009C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8F5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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