#8A7BB7#8A7BB7

#8A7BB7 is a mid, moderate violet. Relative luminance 0.230; OKLCH L 62.0% C 0.090 H 295.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A7BB7
RGBrgb(138, 123, 183)
HSLhsl(255, 29%, 60%)
HSVhsv(255, 33%, 72%)
CMYKcmyk(24.6%, 32.8%, 0%, 28.2%)
CIE-LABlab(55.06, 18.74, -29.54)
CIE-LCHlch(55.06, 34.98, 302.39°)
OKLaboklab(61.99% 0.0384 -0.0818)
OKLCHoklch(61.99% 0.09 295.1)
XYZxyz(26.1094, 22.9878, 47.8521)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BB7 #A8B77B
analogous
#7B8AB7 #8A7BB7 #A87BB7
triadic
#8A7BB7 #B78A7B #7BB78A
tetradic
#8A7BB7 #B77B8A #A8B77B #7BB7A8
square
#8A7BB7 #B77B8A #A8B77B #7BB7A8
split-complementary
#8A7BB7 #B7A87B #8AB77B
monochromatic
#4E4177 #68569E #8A7BB7 #ADA3CD #D0CAE2

Accessibility & contrast

On white

3.75
#8A7BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A7BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BB7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BB7#FFFFFF#000000##000000
##8A7BB71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C84B9
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#818591
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7bb7;
/* rgb */ color: rgb(138, 123, 183);
/* oklch */ color: oklch(62.0% 0.090 295.1);
Tailwind
colors: {
  custom: {
    50: '#ada1cd',
    500: '#8a7bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bb7;
$custom-light: #ada1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bb7",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 255,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.09037,
    "h": 295.1
  },
  "luminance": 0.22988
}

Semantic roles & 50–950 ramp

primary
#8A7BB7
secondary
#CDD2BB
accent
#C662AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #8A7BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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