#8748D7#8748D7

#8748D7 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.209 H 299.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8748D7
RGBrgb(135, 72, 215)
HSLhsl(266, 64%, 56%)
HSVhsv(266, 67%, 84%)
CMYKcmyk(37.2%, 66.5%, 0%, 15.7%)
CIE-LABlab(45.21, 54.69, -63.57)
CIE-LCHlch(45.21, 83.86, 310.70°)
OKLaboklab(55.16% 0.1034 -0.1811)
OKLCHoklch(55.16% 0.209 299.7)
XYZxyz(24.5717, 14.6917, 65.8180)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748D7 #98D748
analogous
#4851D7 #8748D7 #CF48D7
triadic
#8748D7 #D78748 #48D787
tetradic
#8748D7 #D74851 #98D748 #48D7CF
square
#8748D7 #D74851 #98D748 #48D7CF
split-complementary
#8748D7 #D7CF48 #51D748
monochromatic
#4C1E87 #6829B9 #8748D7 #A87AE2 #C9ACED

Accessibility & contrast

On white

5.33
#8748D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8748D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748D7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748D7#FFFFFF#000000##FFFFFF
##8748D71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#75698A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8748d7;
/* rgb */ color: rgb(135, 72, 215);
/* oklch */ color: oklch(55.2% 0.209 299.7);
Tailwind
colors: {
  custom: {
    50: '#b07fe4',
    500: '#8748d7',
    950: '#000000',
  },
}
SCSS
$custom: #8748d7;
$custom-light: #b07fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8748d7",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 266.434,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55161,
    "c": 0.20856,
    "h": 299.7
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

primary
#8748D7
secondary
#C1DBA0
accent
#E7419E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8748D7

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

Preview Lab → · Contrast checker → · Palette generator →

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