#8A7BBF#8A7BBF

#8A7BBF is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.4% C 0.102 H 293.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A7BBF
RGBrgb(138, 123, 191)
HSLhsl(253, 35%, 62%)
HSVhsv(253, 36%, 75%)
CMYKcmyk(27.7%, 35.6%, 0%, 25.1%)
CIE-LABlab(55.41, 20.74, -33.57)
CIE-LCHlch(55.41, 39.46, 301.71°)
OKLaboklab(62.37% 0.0403 -0.0934)
OKLCHoklch(62.37% 0.102 293.4)
XYZxyz(26.9659, 23.3304, 52.3626)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BBF #B0BF7B
analogous
#7B8EBF #8A7BBF #AC7BBF
triadic
#8A7BBF #BF8A7B #7BBF8A
tetradic
#8A7BBF #BF7B8E #B0BF7B #7BBFAC
square
#8A7BBF #BF7B8E #B0BF7B #7BBFAC
split-complementary
#8A7BBF #BFAC7B #8EBF7B
monochromatic
#4D3F81 #6653AA #8A7BBF #AFA4D3 #D3CDE7

Accessibility & contrast

On white

3.71
#8A7BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8A7BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BBF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BBF#FFFFFF#000000##000000
##8A7BBF1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6986C2
Deuteranopia (green-blind)
#6A84BD
Tritanopia (blue-blind)
#7F8794
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7bbf;
/* rgb */ color: rgb(138, 123, 191);
/* oklch */ color: oklch(62.4% 0.102 293.4);
Tailwind
colors: {
  custom: {
    50: '#ada1d2',
    500: '#8a7bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bbf;
$custom-light: #ada1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bbf",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 253.235,
    "s": 34.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.10176,
    "h": 293.4
  },
  "luminance": 0.23331
}

Semantic roles & 50–950 ramp

primary
#8A7BBF
secondary
#D2D8BE
accent
#AE3894
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #8A7BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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