#8A7FBB#8A7FBB

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

Color values

HEX#8A7FBB
RGBrgb(138, 127, 187)
HSLhsl(251, 31%, 62%)
HSVhsv(251, 32%, 73%)
CMYKcmyk(26.2%, 32.1%, 0%, 26.7%)
CIE-LABlab(56.26, 17.39, -29.97)
CIE-LCHlch(56.26, 34.65, 300.12°)
OKLaboklab(62.96% 0.0336 -0.0831)
OKLCHoklch(62.96% 0.09 292)
XYZxyz(27.0381, 24.1695, 50.2447)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FBB #B0BB7F
analogous
#7F92BB #8A7FBB #A87FBB
triadic
#8A7FBB #BB8A7F #7FBB8A
tetradic
#8A7FBB #BB7F92 #B0BB7F #7FBBA8
square
#8A7FBB #BB7F92 #B0BB7F #7FBBA8
split-complementary
#8A7FBB #BBA87F #92BB7F
monochromatic
#4D427D #6658A5 #8A7FBB #AFA7D0 #D3CFE5

Accessibility & contrast

On white

3.60
#8A7FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8A7FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FBB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FBB#FFFFFF#000000##000000
##8A7FBB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7fbb;
/* rgb */ color: rgb(138, 127, 187);
/* oklch */ color: oklch(63.0% 0.090 292.0);
Tailwind
colors: {
  custom: {
    50: '#ada4cf',
    500: '#8a7fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fbb;
$custom-light: #ada4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fbb",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 251,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62962,
    "c": 0.08961,
    "h": 292
  },
  "luminance": 0.2417
}

Semantic roles & 50–950 ramp

primary
#8A7FBB
secondary
#D2D6C0
accent
#A93C95
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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