#8F5BD9#8F5BD9

#8F5BD9 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.186 H 299.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8F5BD9
RGBrgb(143, 91, 217)
HSLhsl(265, 62%, 60%)
HSVhsv(265, 58%, 85%)
CMYKcmyk(34.1%, 58.1%, 0%, 14.9%)
CIE-LABlab(49.90, 47.03, -57.10)
CIE-LCHlch(49.90, 73.98, 309.47°)
OKLaboklab(58.8% 0.0923 -0.1619)
OKLCHoklch(58.8% 0.186 299.7)
XYZxyz(27.5901, 18.3313, 67.7169)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BD9 #A5D95B
analogous
#5B66D9 #8F5BD9 #CE5BD9
triadic
#8F5BD9 #D98F5B #5BD98F
tetradic
#8F5BD9 #D95B66 #A5D95B #5BD9CE
square
#8F5BD9 #D95B66 #A5D95B #5BD9CE
split-complementary
#8F5BD9 #D9CE5B #66D95B
monochromatic
#532397 #6E2EC8 #8F5BD9 #B18DE5 #D3BEF0

Accessibility & contrast

On white

4.50
#8F5BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8F5BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BD9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BD9#FFFFFF#000000##000000
##8F5BD91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1976DD
Deuteranopia (green-blind)
#3376D6
Tritanopia (blue-blind)
#7F7591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5bd9;
/* rgb */ color: rgb(143, 91, 217);
/* oklch */ color: oklch(58.8% 0.186 299.7);
Tailwind
colors: {
  custom: {
    50: '#b48be5',
    500: '#8f5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bd9;
$custom-light: #b48be5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bd9",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 264.762,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58802,
    "c": 0.18634,
    "h": 299.7
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#8F5BD9
secondary
#CCE0B0
accent
#CA1B82
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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