#8B7FB3#8B7FB3

#8B7FB3 is a light, moderate violet. Relative luminance 0.239; OKLCH L 62.7% C 0.078 H 294.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8B7FB3
RGBrgb(139, 127, 179)
HSLhsl(254, 25%, 60%)
HSVhsv(254, 29%, 70%)
CMYKcmyk(22.3%, 29.1%, 0%, 29.8%)
CIE-LABlab(56.01, 15.73, -25.77)
CIE-LCHlch(56.01, 30.19, 301.39°)
OKLaboklab(62.68% 0.0326 -0.0711)
OKLCHoklch(62.68% 0.078 294.6)
XYZxyz(26.3716, 23.9221, 45.8671)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7FB3 #A7B37F
analogous
#7F8DB3 #8B7FB3 #A57FB3
triadic
#8B7FB3 #B38B7F #7FB38B
tetradic
#8B7FB3 #B37F8D #A7B37F #7FB3A5
square
#8B7FB3 #B37F8D #A7B37F #7FB3A5
split-complementary
#8B7FB3 #B3A57F #8DB37F
monochromatic
#4F4473 #6A5B9A #8B7FB3 #AEA5CA #D1CCE1

Accessibility & contrast

On white

3.63
#8B7FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8B7FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7FB3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7FB3#FFFFFF#000000##000000
##8B7FB31.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B5
Deuteranopia (green-blind)
#7485B2
Tritanopia (blue-blind)
#838791
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b7fb3;
/* rgb */ color: rgb(139, 127, 179);
/* oklch */ color: oklch(62.7% 0.078 294.6);
Tailwind
colors: {
  custom: {
    50: '#ada4ca',
    500: '#8b7fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8b7fb3;
$custom-light: #ada4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7fb3",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 253.846,
    "s": 25.49,
    "l": 60
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.07817,
    "h": 294.6
  },
  "luminance": 0.23922
}

Semantic roles & 50–950 ramp

primary
#8B7FB3
secondary
#CCD1BD
accent
#C266AD
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #8B7FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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