#8F5FDF#8F5FDF

#8F5FDF is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.188 H 297.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F5FDF
RGBrgb(143, 95, 223)
HSLhsl(263, 67%, 62%)
HSVhsv(263, 57%, 87%)
CMYKcmyk(35.9%, 57.4%, 0%, 12.5%)
CIE-LABlab(51.10, 46.38, -58.58)
CIE-LCHlch(51.10, 74.71, 308.37°)
OKLaboklab(59.8% 0.0874 -0.1662)
OKLCHoklch(59.8% 0.188 297.7)
XYZxyz(28.7358, 19.3514, 72.0190)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FDF #AFDF5F
analogous
#5F6FDF #8F5FDF #CF5FDF
triadic
#8F5FDF #DF8F5F #5FDF8F
tetradic
#8F5FDF #DF5F6F #AFDF5F #5FDFCF
square
#8F5FDF #DF5F6F #AFDF5F #5FDFCF
split-complementary
#8F5FDF #DFCF5F #6FDF5F
monochromatic
#5221A3 #6B2CD5 #8F5FDF #B392E9 #D6C5F3

Accessibility & contrast

On white

4.31
#8F5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8F5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FDF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FDF#FFFFFF#000000##000000
##8F5FDF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7AE3
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#7D7A96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5fdf;
/* rgb */ color: rgb(143, 95, 223);
/* oklch */ color: oklch(59.8% 0.188 297.7);
Tailwind
colors: {
  custom: {
    50: '#b48eea',
    500: '#8f5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fdf;
$custom-light: #b48eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fdf",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 262.5,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.18781,
    "h": 297.7
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#8F5FDF
secondary
#D3E4B6
accent
#CF178A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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