#8F5FED#8F5FED

#8F5FED is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.205 H 295.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8F5FED
RGBrgb(143, 95, 237)
HSLhsl(260, 80%, 65%)
HSVhsv(260, 60%, 93%)
CMYKcmyk(39.7%, 59.9%, 0%, 7.1%)
CIE-LABlab(51.99, 50.00, -65.01)
CIE-LCHlch(51.99, 82.01, 307.56°)
OKLaboklab(60.74% 0.0871 -0.1851)
OKLCHoklch(60.74% 0.205 295.2)
XYZxyz(30.7019, 20.1378, 82.3737)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FED #BDED5F
analogous
#5F76ED #8F5FED #D65FED
triadic
#8F5FED #ED8F5F #5FED8F
tetradic
#8F5FED #ED5F76 #BDED5F #5FEDD6
square
#8F5FED #ED5F76 #BDED5F #5FEDD6
split-complementary
#8F5FED #EDD65F #76ED5F
monochromatic
#4E15BC #6828E7 #8F5FED #B696F3 #DCCDF9

Accessibility & contrast

On white

4.18
#8F5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8F5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FED
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FED#FFFFFF#000000##000000
##8F5FED1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#137AEA
Tritanopia (blue-blind)
#777E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5fed;
/* rgb */ color: rgb(143, 95, 237);
/* oklch */ color: oklch(60.7% 0.205 295.2);
Tailwind
colors: {
  custom: {
    50: '#b58ef4',
    500: '#8f5fed',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fed;
$custom-light: #b58ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fed",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 260.282,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.20458,
    "h": 295.2
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#8F5FED
secondary
#DCECBC
accent
#DC0995
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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