#8A7FBC#8A7FBC

#8A7FBC is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.0% C 0.091 H 291.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A7FBC
RGBrgb(138, 127, 188)
HSLhsl(251, 31%, 62%)
HSVhsv(251, 32%, 74%)
CMYKcmyk(26.6%, 32.4%, 0%, 26.3%)
CIE-LABlab(56.30, 17.64, -30.47)
CIE-LCHlch(56.30, 35.21, 300.06°)
OKLaboklab(63.01% 0.0339 -0.0845)
OKLCHoklch(63.01% 0.091 291.8)
XYZxyz(27.1455, 24.2124, 50.8105)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FBC #B1BC7F
analogous
#7F93BC #8A7FBC #A97FBC
triadic
#8A7FBC #BC8A7F #7FBC8A
tetradic
#8A7FBC #BC7F93 #B1BC7F #7FBCA9
square
#8A7FBC #BC7F93 #B1BC7F #7FBCA9
split-complementary
#8A7FBC #BCA97F #93BC7F
monochromatic
#4D427E #6657A7 #8A7FBC #AFA7D1 #D3CFE6

Accessibility & contrast

On white

3.59
#8A7FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A7FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FBC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FBC#FFFFFF#000000##000000
##8A7FBC1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#7F8995
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7fbc;
/* rgb */ color: rgb(138, 127, 188);
/* oklch */ color: oklch(63.0% 0.091 291.8);
Tailwind
colors: {
  custom: {
    50: '#ada4d0',
    500: '#8a7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fbc;
$custom-light: #ada4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fbc",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 250.82,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63009,
    "c": 0.09106,
    "h": 291.8
  },
  "luminance": 0.24213
}

Semantic roles & 50–950 ramp

primary
#8A7FBC
secondary
#D3D7C0
accent
#AA3B96
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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