#8F5FDE#8F5FDE

#8F5FDE is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.187 H 297.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F5FDE
RGBrgb(143, 95, 222)
HSLhsl(263, 66%, 62%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(35.6%, 57.2%, 0%, 12.9%)
CIE-LABlab(51.03, 46.12, -58.11)
CIE-LCHlch(51.03, 74.19, 308.44°)
OKLaboklab(59.74% 0.0874 -0.1648)
OKLCHoklch(59.74% 0.187 297.9)
XYZxyz(28.6014, 19.2976, 71.3110)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FDE #AEDE5F
analogous
#5F6FDE #8F5FDE #CE5FDE
triadic
#8F5FDE #DE8F5F #5FDE8F
tetradic
#8F5FDE #DE5F6F #AEDE5F #5FDECE
square
#8F5FDE #DE5F6F #AEDE5F #5FDECE
split-complementary
#8F5FDE #DECE5F #6FDE5F
monochromatic
#5221A1 #6B2CD4 #8F5FDE #B392E8 #D6C4F3

Accessibility & contrast

On white

4.32
#8F5FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8F5FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FDE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FDE#FFFFFF#000000##000000
##8F5FDE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7AE2
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#7D7995
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5fde;
/* rgb */ color: rgb(143, 95, 222);
/* oklch */ color: oklch(59.7% 0.187 297.9);
Tailwind
colors: {
  custom: {
    50: '#b48ee9',
    500: '#8f5fde',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fde;
$custom-light: #b48ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fde",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 262.677,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.1866,
    "h": 297.9
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#8F5FDE
secondary
#D2E4B5
accent
#CE1889
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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