#8F5FE5#8F5FE5

#8F5FE5 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.195 H 296.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F5FE5
RGBrgb(143, 95, 229)
HSLhsl(261, 72%, 64%)
HSVhsv(261, 59%, 90%)
CMYKcmyk(37.6%, 58.5%, 0%, 10.2%)
CIE-LABlab(51.47, 47.92, -61.35)
CIE-LCHlch(51.47, 77.85, 307.99°)
OKLaboklab(60.2% 0.0874 -0.1744)
OKLCHoklch(60.2% 0.195 296.6)
XYZxyz(29.5591, 19.6807, 76.3550)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FE5 #B5E55F
analogous
#5F72E5 #8F5FE5 #D25FE5
triadic
#8F5FE5 #E58F5F #5FE58F
tetradic
#8F5FE5 #E55F72 #B5E55F #5FE5D2
square
#8F5FE5 #E55F72 #B5E55F #5FE5D2
split-complementary
#8F5FE5 #E5D25F #72E55F
monochromatic
#501CAD #6A2ADC #8F5FE5 #B494EE #D9C8F6

Accessibility & contrast

On white

4.25
#8F5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8F5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FE5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FE5#FFFFFF#000000##000000
##8F5FE51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#067BE9
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#7A7C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5fe5;
/* rgb */ color: rgb(143, 95, 229);
/* oklch */ color: oklch(60.2% 0.195 296.6);
Tailwind
colors: {
  custom: {
    50: '#b58eee',
    500: '#8f5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fe5;
$custom-light: #b58eee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fe5",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 261.493,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.602,
    "c": 0.19503,
    "h": 296.6
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#8F5FE5
secondary
#D7E8B8
accent
#D4118E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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