#8748D8#8748D8

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

Color values

HEX#8748D8
RGBrgb(135, 72, 216)
HSLhsl(266, 65%, 56%)
HSVhsv(266, 67%, 85%)
CMYKcmyk(37.5%, 66.7%, 0%, 15.3%)
CIE-LABlab(45.28, 54.94, -64.03)
CIE-LCHlch(45.28, 84.37, 310.63°)
OKLaboklab(55.24% 0.1033 -0.1824)
OKLCHoklch(55.24% 0.21 299.5)
XYZxyz(24.7006, 14.7432, 66.4968)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748D8 #99D848
analogous
#4851D8 #8748D8 #CF48D8
triadic
#8748D8 #D88748 #48D887
tetradic
#8748D8 #D84851 #99D848 #48D8CF
square
#8748D8 #D84851 #99D848 #48D8CF
split-complementary
#8748D8 #D8CF48 #51D848
monochromatic
#4C1D89 #6828BB #8748D8 #A87AE3 #C9ADEE

Accessibility & contrast

On white

5.32
#8748D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8748D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748D8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748D8#FFFFFF#000000##FFFFFF
##8748D81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8748d8;
/* rgb */ color: rgb(135, 72, 216);
/* oklch */ color: oklch(55.2% 0.210 299.5);
Tailwind
colors: {
  custom: {
    50: '#b07fe5',
    500: '#8748d8',
    950: '#000000',
  },
}
SCSS
$custom: #8748d8;
$custom-light: #b07fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#8748d8",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 266.25,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.20966,
    "h": 299.5
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#8748D8
secondary
#C2DBA0
accent
#E8409E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8748D8

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

Preview Lab → · Contrast checker → · Palette generator →

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