#8F5BDD#8F5BDD

#8F5BDD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.1% C 0.191 H 298.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8F5BDD
RGBrgb(143, 91, 221)
HSLhsl(264, 66%, 61%)
HSVhsv(264, 59%, 87%)
CMYKcmyk(35.3%, 58.8%, 0%, 13.3%)
CIE-LABlab(50.15, 48.04, -58.97)
CIE-LCHlch(50.15, 76.06, 309.17°)
OKLaboklab(59.07% 0.0922 -0.1674)
OKLCHoklch(59.07% 0.191 298.9)
XYZxyz(28.1167, 18.5420, 70.4902)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BDD #A9DD5B
analogous
#5B68DD #8F5BDD #D05BDD
triadic
#8F5BDD #DD8F5B #5BDD8F
tetradic
#8F5BDD #DD5B68 #A9DD5B #5BDDD0
square
#8F5BDD #DD5B68 #A9DD5B #5BDDD0
split-complementary
#8F5BDD #DDD05B #68DD5B
monochromatic
#52219D #6D2BD0 #8F5BDD #B28EE8 #D4C0F2

Accessibility & contrast

On white

4.46
#8F5BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8F5BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BDD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BDD#FFFFFF#000000##000000
##8F5BDD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C77E1
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#7E7693
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5bdd;
/* rgb */ color: rgb(143, 91, 221);
/* oklch */ color: oklch(59.1% 0.191 298.9);
Tailwind
colors: {
  custom: {
    50: '#b48be8',
    500: '#8f5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bdd;
$custom-light: #b48be8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bdd",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 264,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.1911,
    "h": 298.9
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#8F5BDD
secondary
#CFE2B1
accent
#CE1885
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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