#8F5FC8#8F5FC8

#8F5FC8 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.160 H 302.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F5FC8
RGBrgb(143, 95, 200)
HSLhsl(267, 49%, 58%)
HSVhsv(267, 53%, 78%)
CMYKcmyk(28.5%, 52.5%, 0%, 21.6%)
CIE-LABlab(49.73, 40.60, -47.65)
CIE-LCHlch(49.73, 62.60, 310.43°)
OKLaboklab(58.36% 0.0867 -0.1342)
OKLCHoklch(58.36% 0.16 302.9)
XYZxyz(25.8429, 18.1942, 56.7827)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FC8 #98C85F
analogous
#5F63C8 #8F5FC8 #C45FC8
triadic
#8F5FC8 #C88F5F #5FC88F
tetradic
#8F5FC8 #C85F63 #98C85F #5FC8C4
square
#8F5FC8 #C85F63 #98C85F #5FC8C4
split-complementary
#8F5FC8 #C8C45F #63C85F
monochromatic
#532C80 #703CAE #8F5FC8 #AF8DD8 #CFBAE7

Accessibility & contrast

On white

4.53
#8F5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8F5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FC8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FC8#FFFFFF#000000##000000
##8F5FC81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#85738A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5fc8;
/* rgb */ color: rgb(143, 95, 200);
/* oklch */ color: oklch(58.4% 0.160 302.9);
Tailwind
colors: {
  custom: {
    50: '#b38ed9',
    500: '#8f5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fc8;
$custom-light: #b38ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fc8",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 267.429,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58356,
    "c": 0.15977,
    "h": 302.9
  },
  "luminance": 0.18194
}

Semantic roles & 50–950 ramp

primary
#8F5FC8
secondary
#C3D6AC
accent
#D84F9A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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