#8F7BC6#8F7BC6

#8F7BC6 is a light, moderate violet. Relative luminance 0.241; OKLCH L 63.2% C 0.112 H 295.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F7BC6
RGBrgb(143, 123, 198)
HSLhsl(256, 40%, 63%)
HSVhsv(256, 38%, 78%)
CMYKcmyk(27.8%, 37.9%, 0%, 22.4%)
CIE-LABlab(56.17, 23.98, -36.34)
CIE-LCHlch(56.17, 43.54, 303.42°)
OKLaboklab(63.16% 0.0478 -0.1013)
OKLCHoklch(63.16% 0.112 295.3)
XYZxyz(28.6012, 24.0824, 56.5567)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BC6 #B2C67B
analogous
#7B8CC6 #8F7BC6 #B47BC6
triadic
#8F7BC6 #C68F7B #7BC68F
tetradic
#8F7BC6 #C67B8C #B2C67B #7BC6B4
square
#8F7BC6 #C67B8C #B2C67B #7BC6B4
split-complementary
#8F7BC6 #C6B47B #8CC67B
monochromatic
#513C8B #6B50B4 #8F7BC6 #B3A6D8 #D8D0EB

Accessibility & contrast

On white

3.61
#8F7BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8F7BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BC6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BC6#FFFFFF#000000##000000
##8F7BC61.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6787C9
Deuteranopia (green-blind)
#6986C4
Tritanopia (blue-blind)
#838897
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f7bc6;
/* rgb */ color: rgb(143, 123, 198);
/* oklch */ color: oklch(63.2% 0.112 295.3);
Tailwind
colors: {
  custom: {
    50: '#b1a1d7',
    500: '#8f7bc6',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bc6;
$custom-light: #b1a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bc6",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 256,
    "s": 39.683,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63162,
    "c": 0.11202,
    "h": 295.3
  },
  "luminance": 0.24083
}

Semantic roles & 50–950 ramp

primary
#8F7BC6
secondary
#D5DCC1
accent
#B33391
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110F14
muted
#807E83

Preview Lab

Preview with #8F7BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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