#8F5FE0#8F5FE0

#8F5FE0 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.189 H 297.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8F5FE0
RGBrgb(143, 95, 224)
HSLhsl(262, 68%, 63%)
HSVhsv(262, 58%, 88%)
CMYKcmyk(36.2%, 57.6%, 0%, 12.2%)
CIE-LABlab(51.16, 46.63, -59.04)
CIE-LCHlch(51.16, 75.23, 308.30°)
OKLaboklab(59.87% 0.0874 -0.1676)
OKLCHoklch(59.87% 0.189 297.6)
XYZxyz(28.8711, 19.4055, 72.7311)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FE0 #B0E05F
analogous
#5F6FE0 #8F5FE0 #D05FE0
triadic
#8F5FE0 #E08F5F #5FE08F
tetradic
#8F5FE0 #E05F6F #B0E05F #5FE0D0
square
#8F5FE0 #E05F6F #B0E05F #5FE0D0
split-complementary
#8F5FE0 #E0D05F #6FE05F
monochromatic
#5120A5 #6B2CD6 #8F5FE0 #B392EA #D7C6F4

Accessibility & contrast

On white

4.30
#8F5FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8F5FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FE0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FE0#FFFFFF#000000##000000
##8F5FE01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#197AE4
Deuteranopia (green-blind)
#3078DD
Tritanopia (blue-blind)
#7C7A96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5fe0;
/* rgb */ color: rgb(143, 95, 224);
/* oklch */ color: oklch(59.9% 0.189 297.6);
Tailwind
colors: {
  custom: {
    50: '#b48eea',
    500: '#8f5fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fe0;
$custom-light: #b48eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fe0",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 262.326,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.18901,
    "h": 297.6
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#8F5FE0
secondary
#D3E5B6
accent
#CF168A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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