#8757A2#8757A2

#8757A2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.0% C 0.124 H 312.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8757A2
RGBrgb(135, 87, 162)
HSLhsl(278, 30%, 49%)
HSVhsv(278, 46%, 64%)
CMYKcmyk(16.7%, 46.3%, 0%, 36.5%)
CIE-LABlab(45.05, 33.86, -32.96)
CIE-LCHlch(45.05, 47.26, 315.77°)
OKLaboklab(54.02% 0.0835 -0.0916)
OKLCHoklch(54.02% 0.124 312.4)
XYZxyz(19.9203, 14.5763, 35.9395)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757A2 #72A257
analogous
#6257A2 #8757A2 #A25798
triadic
#8757A2 #A28757 #57A287
tetradic
#8757A2 #A26257 #72A257 #5798A2
square
#8757A2 #A26257 #72A257 #5798A2
split-complementary
#8757A2 #98A257 #57A262
monochromatic
#452C52 #66427A #8757A2 #A47DB9 #C0A5CF

Accessibility & contrast

On white

5.36
#8757A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8757A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757A2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757A2#FFFFFF#000000##FFFFFF
##8757A21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#846275
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8757a2;
/* rgb */ color: rgb(135, 87, 162);
/* oklch */ color: oklch(54.0% 0.124 312.4);
Tailwind
colors: {
  custom: {
    50: '#ab87be',
    500: '#8757a2',
    950: '#000000',
  },
}
SCSS
$custom: #8757a2;
$custom-light: #ab87be;
$custom-dark: #000000;
JSON
{
  "hex": "#8757a2",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 278.4,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.12397,
    "h": 312.4
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#8757A2
secondary
#A5BC99
accent
#C66186
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8757A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8757A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva