#8748AF#8748AF

#8748AF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.164 H 310.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8748AF
RGBrgb(135, 72, 175)
HSLhsl(277, 42%, 48%)
HSVhsv(277, 59%, 69%)
CMYKcmyk(22.9%, 58.9%, 0%, 31.4%)
CIE-LABlab(42.58, 45.10, -44.56)
CIE-LCHlch(42.58, 63.40, 315.35°)
OKLaboklab(52.43% 0.1057 -0.1253)
OKLCHoklch(52.43% 0.164 310.2)
XYZxyz(20.0454, 12.8812, 41.9795)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748AF #70AF48
analogous
#5348AF #8748AF #AF48A3
triadic
#8748AF #AF8748 #48AF87
tetradic
#8748AF #AF5348 #70AF48 #48A3AF
square
#8748AF #AF5348 #70AF48 #48A3AF
split-complementary
#8748AF #A3AF48 #48AF53
monochromatic
#442458 #663684 #8748AF #A370C4 #BF9BD6

Accessibility & contrast

On white

5.87
#8748AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8748AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748AF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748AF#FFFFFF#000000##FFFFFF
##8748AF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#825B74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8748af;
/* rgb */ color: rgb(135, 72, 175);
/* oklch */ color: oklch(52.4% 0.164 310.2);
Tailwind
colors: {
  custom: {
    50: '#ad7ec7',
    500: '#8748af',
    950: '#000000',
  },
}
SCSS
$custom: #8748af;
$custom-light: #ad7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8748af",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 276.699,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.16392,
    "h": 310.2
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#8748AF
secondary
#A4C290
accent
#D25686
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8748AF

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

Preview Lab → · Contrast checker → · Palette generator →

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