#8F5BDA#8F5BDA

#8F5BDA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.188 H 299.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F5BDA
RGBrgb(143, 91, 218)
HSLhsl(265, 63%, 61%)
HSVhsv(265, 58%, 85%)
CMYKcmyk(34.4%, 58.3%, 0%, 14.5%)
CIE-LABlab(49.96, 47.28, -57.57)
CIE-LCHlch(49.96, 74.50, 309.39°)
OKLaboklab(58.87% 0.0923 -0.1632)
OKLCHoklch(58.87% 0.188 299.5)
XYZxyz(27.7206, 18.3835, 68.4040)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BDA #A6DA5B
analogous
#5B66DA #8F5BDA #CE5BDA
triadic
#8F5BDA #DA8F5B #5BDA8F
tetradic
#8F5BDA #DA5B66 #A6DA5B #5BDACE
square
#8F5BDA #DA5B66 #A6DA5B #5BDACE
split-complementary
#8F5BDA #DACE5B #66DA5B
monochromatic
#532298 #6E2ECA #8F5BDA #B18DE5 #D3BFF1

Accessibility & contrast

On white

4.49
#8F5BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8F5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BDA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BDA#FFFFFF#000000##000000
##8F5BDA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1777DE
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#7F7592
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5bda;
/* rgb */ color: rgb(143, 91, 218);
/* oklch */ color: oklch(58.9% 0.188 299.5);
Tailwind
colors: {
  custom: {
    50: '#b48be6',
    500: '#8f5bda',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bda;
$custom-light: #b48be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bda",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 264.567,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.18753,
    "h": 299.5
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#8F5BDA
secondary
#CDE1B0
accent
#CB1B83
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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