#8A75BB#8A75BB

#8A75BB is a mid, moderate violet. Relative luminance 0.217; OKLCH L 61.0% C 0.106 H 297.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A75BB
RGBrgb(138, 117, 187)
HSLhsl(258, 34%, 60%)
HSVhsv(258, 37%, 73%)
CMYKcmyk(26.2%, 37.4%, 0%, 26.7%)
CIE-LABlab(53.72, 23.26, -33.92)
CIE-LCHlch(53.72, 41.13, 304.44°)
OKLaboklab(61.02% 0.048 -0.0944)
OKLCHoklch(61.02% 0.106 297)
XYZxyz(25.8101, 21.7135, 49.8354)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A75BB #A6BB75
analogous
#7583BB #8A75BB #AD75BB
triadic
#8A75BB #BB8A75 #75BB8A
tetradic
#8A75BB #BB7583 #A6BB75 #75BBAD
square
#8A75BB #BB7583 #A6BB75 #75BBAD
split-complementary
#8A75BB #BBAD75 #83BB75
monochromatic
#4E3C7A #6950A3 #8A75BB #AD9ECF #D0C7E3

Accessibility & contrast

On white

3.93
#8A75BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8A75BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A75BB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A75BB#FFFFFF#000000##000000
##8A75BB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#80818F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a75bb;
/* rgb */ color: rgb(138, 117, 187);
/* oklch */ color: oklch(61.0% 0.106 297.0);
Tailwind
colors: {
  custom: {
    50: '#ad9dcf',
    500: '#8a75bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a75bb;
$custom-light: #ad9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a75bb",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 187
  },
  "hsl": {
    "h": 258,
    "s": 33.981,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.10592,
    "h": 297
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#8A75BB
secondary
#CBD3B8
accent
#CA5EAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A75BB

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

Preview Lab → · Contrast checker → · Palette generator →

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