#8748C7#8748C7

#8748C7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.191 H 303.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8748C7
RGBrgb(135, 72, 199)
HSLhsl(270, 53%, 53%)
HSVhsv(270, 64%, 78%)
CMYKcmyk(32.2%, 63.8%, 0%, 22%)
CIE-LABlab(44.10, 50.77, -56.15)
CIE-LCHlch(44.10, 75.70, 312.12°)
OKLaboklab(54.01% 0.105 -0.1593)
OKLCHoklch(54.01% 0.191 303.4)
XYZxyz(22.6155, 13.9092, 55.5151)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748C7 #88C748
analogous
#4848C7 #8748C7 #C748C7
triadic
#8748C7 #C78748 #48C787
tetradic
#8748C7 #C74848 #88C748 #48C7C7
square
#8748C7 #C74848 #88C748 #48C7C7
split-complementary
#8748C7 #C7C748 #48C748
monochromatic
#4A2372 #6831A1 #8748C7 #A677D5 #C4A6E4

Accessibility & contrast

On white

5.55
#8748C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8748C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748C7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748C7#FFFFFF#000000##FFFFFF
##8748C71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2068C4
Tritanopia (blue-blind)
#7B6381
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8748c7;
/* rgb */ color: rgb(135, 72, 199);
/* oklch */ color: oklch(54.0% 0.191 303.4);
Tailwind
colors: {
  custom: {
    50: '#ae7fd9',
    500: '#8748c7',
    950: '#000000',
  },
}
SCSS
$custom: #8748c7;
$custom-light: #ae7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8748c7",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 269.764,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.19079,
    "h": 303.4
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#8748C7
secondary
#B6D19A
accent
#DD4B94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8748C7

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

Preview Lab → · Contrast checker → · Palette generator →

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