#8A75A2#8A75A2

#8A75A2 is a mid, moderate violet. Relative luminance 0.207; OKLCH L 59.9% C 0.071 H 305.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A75A2
RGBrgb(138, 117, 162)
HSLhsl(268, 19%, 55%)
HSVhsv(268, 28%, 64%)
CMYKcmyk(14.8%, 27.8%, 0%, 36.5%)
CIE-LABlab(52.66, 17.27, -21.12)
CIE-LCHlch(52.66, 27.28, 309.27°)
OKLaboklab(59.86% 0.0415 -0.0578)
OKLCHoklch(59.86% 0.071 305.6)
XYZxyz(23.3629, 20.7346, 36.9468)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75A2 #8DA275
analogous
#7576A2 #8A75A2 #A175A2
triadic
#8A75A2 #A28A75 #75A28A
tetradic
#8A75A2 #A27576 #8DA275 #75A2A1
square
#8A75A2 #A27576 #8DA275 #75A2A1
split-complementary
#8A75A2 #A2A175 #76A275
monochromatic
#4D3F5E #6B5882 #8A75A2 #A99ABB #C8BED3

Accessibility & contrast

On white

4.08
#8A75A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A75A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75A2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75A2#FFFFFF#000000##000000
##8A75A21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#717EA1
Tritanopia (blue-blind)
#877B85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a75a2;
/* rgb */ color: rgb(138, 117, 162);
/* oklch */ color: oklch(59.9% 0.071 305.6);
Tailwind
colors: {
  custom: {
    50: '#ac9dbd',
    500: '#8a75a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a75a2;
$custom-light: #ac9dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75a2",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 162
  },
  "hsl": {
    "h": 268,
    "s": 19.481,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59859,
    "c": 0.07115,
    "h": 305.6
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#8A75A2
secondary
#BAC3B0
accent
#BC6C97
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A75A2

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

Preview Lab → · Contrast checker → · Palette generator →

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