#8F5BC2#8F5BC2

#8F5BC2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.159 H 305.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F5BC2
RGBrgb(143, 91, 194)
HSLhsl(270, 46%, 56%)
HSVhsv(270, 53%, 76%)
CMYKcmyk(26.3%, 53.1%, 0%, 23.9%)
CIE-LABlab(48.53, 41.36, -46.11)
CIE-LCHlch(48.53, 61.94, 311.90°)
OKLaboklab(57.36% 0.0917 -0.1296)
OKLCHoklch(57.36% 0.159 305.3)
XYZxyz(24.8043, 17.2170, 53.0450)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BC2 #8EC25B
analogous
#5B5BC2 #8F5BC2 #C25BC2
triadic
#8F5BC2 #C28F5B #5BC28F
tetradic
#8F5BC2 #C25B5B #8EC25B #5BC2C2
square
#8F5BC2 #C25B5B #8EC25B #5BC2C2
split-complementary
#8F5BC2 #C2C25B #5BC25B
monochromatic
#522C77 #703DA3 #8F5BC2 #AD88D3 #CCB4E3

Accessibility & contrast

On white

4.73
#8F5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8F5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5BC2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BC2#FFFFFF#000000##FFFFFF
##8F5BC21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3972C5
Deuteranopia (green-blind)
#4A73BF
Tritanopia (blue-blind)
#876E86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f5bc2;
/* rgb */ color: rgb(143, 91, 194);
/* oklch */ color: oklch(57.4% 0.159 305.3);
Tailwind
colors: {
  custom: {
    50: '#b28bd5',
    500: '#8f5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bc2;
$custom-light: #b28bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bc2",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 270.291,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57361,
    "c": 0.15878,
    "h": 305.3
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#8F5BC2
secondary
#BCD2A7
accent
#D55293
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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