#8748BD#8748BD

#8748BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.180 H 306.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8748BD
RGBrgb(135, 72, 189)
HSLhsl(272, 47%, 51%)
HSVhsv(272, 62%, 74%)
CMYKcmyk(28.6%, 61.9%, 0%, 25.9%)
CIE-LABlab(43.45, 48.37, -51.39)
CIE-LCHlch(43.45, 70.58, 313.27°)
OKLaboklab(53.33% 0.1056 -0.1453)
OKLCHoklch(53.33% 0.18 306)
XYZxyz(21.4924, 13.4599, 49.6000)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748BD #7EBD48
analogous
#4C48BD #8748BD #BD48B8
triadic
#8748BD #BD8748 #48BD87
tetradic
#8748BD #BD4C48 #7EBD48 #48B8BD
square
#8748BD #BD4C48 #7EBD48 #48B8BD
split-complementary
#8748BD #B8BD48 #48BD4C
monochromatic
#482566 #683593 #8748BD #A475CD #C2A2DD

Accessibility & contrast

On white

5.69
#8748BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8748BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748BD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748BD#FFFFFF#000000##FFFFFF
##8748BD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#7E607C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8748bd;
/* rgb */ color: rgb(135, 72, 189);
/* oklch */ color: oklch(53.3% 0.180 306.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ed1',
    500: '#8748bd',
    950: '#000000',
  },
}
SCSS
$custom: #8748bd;
$custom-light: #ae7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8748bd",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 272.308,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53332,
    "c": 0.1796,
    "h": 306
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#8748BD
secondary
#AECA97
accent
#D7518F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8748BD

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

Preview Lab → · Contrast checker → · Palette generator →

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