#8748C8#8748C8

#8748C8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.192 H 303.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8748C8
RGBrgb(135, 72, 200)
HSLhsl(270, 54%, 53%)
HSVhsv(270, 64%, 78%)
CMYKcmyk(32.5%, 64%, 0%, 21.6%)
CIE-LABlab(44.17, 51.01, -56.62)
CIE-LCHlch(44.17, 76.21, 312.02°)
OKLaboklab(54.08% 0.1049 -0.1607)
OKLCHoklch(54.08% 0.192 303.1)
XYZxyz(22.7320, 13.9558, 56.1285)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748C8 #89C848
analogous
#4849C8 #8748C8 #C748C8
triadic
#8748C8 #C88748 #48C887
tetradic
#8748C8 #C84849 #89C848 #48C8C7
square
#8748C8 #C84849 #89C848 #48C8C7
split-complementary
#8748C8 #C8C748 #49C848
monochromatic
#4A2373 #6931A2 #8748C8 #A677D6 #C5A6E4

Accessibility & contrast

On white

5.54
#8748C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8748C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748C8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748C8#FFFFFF#000000##FFFFFF
##8748C81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#7A6482
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8748c8;
/* rgb */ color: rgb(135, 72, 200);
/* oklch */ color: oklch(54.1% 0.192 303.1);
Tailwind
colors: {
  custom: {
    50: '#ae7fd9',
    500: '#8748c8',
    950: '#000000',
  },
}
SCSS
$custom: #8748c8;
$custom-light: #ae7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8748c8",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 269.531,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54084,
    "c": 0.1919,
    "h": 303.1
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#8748C8
secondary
#B6D19A
accent
#DD4B95
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8748C8

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

Preview Lab → · Contrast checker → · Palette generator →

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