#8757AF#8757AF

#8757AF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.140 H 307.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8757AF
RGBrgb(135, 87, 175)
HSLhsl(273, 35%, 51%)
HSVhsv(273, 50%, 69%)
CMYKcmyk(22.9%, 50.3%, 0%, 31.4%)
CIE-LABlab(45.72, 36.89, -39.57)
CIE-LCHlch(45.72, 54.10, 312.99°)
OKLaboklab(54.74% 0.0853 -0.1108)
OKLCHoklch(54.74% 0.14 307.6)
XYZxyz(21.1362, 15.0627, 42.3430)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757AF #7FAF57
analogous
#5B57AF #8757AF #AF57AB
triadic
#8757AF #AF8757 #57AF87
tetradic
#8757AF #AF5B57 #7FAF57 #57ABAF
square
#8757AF #AF5B57 #7FAF57 #57ABAF
split-complementary
#8757AF #ABAF57 #57AF5B
monochromatic
#482D5F #684188 #8757AF #A580C3 #C2AAD6

Accessibility & contrast

On white

5.23
#8757AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8757AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757AF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757AF#FFFFFF#000000##FFFFFF
##8757AF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB2
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#81667B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8757af;
/* rgb */ color: rgb(135, 87, 175);
/* oklch */ color: oklch(54.7% 0.140 307.6);
Tailwind
colors: {
  custom: {
    50: '#ac88c7',
    500: '#8757af',
    950: '#000000',
  },
}
SCSS
$custom: #8757af;
$custom-light: #ac88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8757af",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 272.727,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.1398,
    "h": 307.6
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#8757AF
secondary
#AFC49E
accent
#CC5C8F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8757AF

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

Preview Lab → · Contrast checker → · Palette generator →

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