#8A7FBD#8A7FBD

#8A7FBD is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.1% C 0.092 H 291.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A7FBD
RGBrgb(138, 127, 189)
HSLhsl(251, 32%, 62%)
HSVhsv(251, 33%, 74%)
CMYKcmyk(27%, 32.8%, 0%, 25.9%)
CIE-LABlab(56.34, 17.89, -30.98)
CIE-LCHlch(56.34, 35.77, 300.00°)
OKLaboklab(63.06% 0.0341 -0.086)
OKLCHoklch(63.06% 0.093 291.7)
XYZxyz(27.2537, 24.2557, 51.3802)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FBD #B2BD7F
analogous
#7F93BD #8A7FBD #A97FBD
triadic
#8A7FBD #BD8A7F #7FBD8A
tetradic
#8A7FBD #BD7F93 #B2BD7F #7FBDA9
square
#8A7FBD #BD7F93 #B2BD7F #7FBDA9
split-complementary
#8A7FBD #BDA97F #93BD7F
monochromatic
#4D4280 #6557A8 #8A7FBD #AFA7D2 #D4D0E7

Accessibility & contrast

On white

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

On black

5.85
#8A7FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FBD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FBD#FFFFFF#000000##000000
##8A7FBD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#6F86BB
Tritanopia (blue-blind)
#7F8A95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7fbd;
/* rgb */ color: rgb(138, 127, 189);
/* oklch */ color: oklch(63.1% 0.092 291.7);
Tailwind
colors: {
  custom: {
    50: '#ada4d1',
    500: '#8a7fbd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fbd;
$custom-light: #ada4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fbd",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 250.645,
    "s": 31.959,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.0925,
    "h": 291.7
  },
  "luminance": 0.24256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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