#8748D6#8748D6

#8748D6 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.207 H 299.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8748D6
RGBrgb(135, 72, 214)
HSLhsl(267, 63%, 56%)
HSVhsv(267, 66%, 84%)
CMYKcmyk(36.9%, 66.4%, 0%, 16.1%)
CIE-LABlab(45.14, 54.44, -63.12)
CIE-LCHlch(45.14, 83.35, 310.78°)
OKLaboklab(55.09% 0.1036 -0.1798)
OKLCHoklch(55.09% 0.207 299.9)
XYZxyz(24.4436, 14.6404, 65.1434)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748D6 #97D648
analogous
#4850D6 #8748D6 #CE48D6
triadic
#8748D6 #D68748 #48D687
tetradic
#8748D6 #D64850 #97D648 #48D6CE
square
#8748D6 #D64850 #97D648 #48D6CE
split-complementary
#8748D6 #D6CE48 #50D648
monochromatic
#4C1E86 #6829B8 #8748D6 #A87AE1 #C9ACEC

Accessibility & contrast

On white

5.35
#8748D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8748D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748D6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748D6#FFFFFF#000000##FFFFFF
##8748D61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#756989
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8748d6;
/* rgb */ color: rgb(135, 72, 214);
/* oklch */ color: oklch(55.1% 0.207 299.9);
Tailwind
colors: {
  custom: {
    50: '#b07fe3',
    500: '#8748d6',
    950: '#000000',
  },
}
SCSS
$custom: #8748d6;
$custom-light: #b07fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8748d6",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 266.62,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.20745,
    "h": 299.9
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#8748D6
secondary
#C0DAA0
accent
#E6419D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8748D6

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

Preview Lab → · Contrast checker → · Palette generator →

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