#8748D5#8748D5

#8748D5 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.206 H 300.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8748D5
RGBrgb(135, 72, 213)
HSLhsl(267, 63%, 56%)
HSVhsv(267, 66%, 84%)
CMYKcmyk(36.6%, 66.2%, 0%, 16.5%)
CIE-LABlab(45.07, 54.19, -62.66)
CIE-LCHlch(45.07, 82.84, 310.86°)
OKLaboklab(55.01% 0.1037 -0.1784)
OKLCHoklch(55.01% 0.206 300.2)
XYZxyz(24.3163, 14.5895, 64.4729)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748D5 #96D548
analogous
#484FD5 #8748D5 #CE48D5
triadic
#8748D5 #D58748 #48D587
tetradic
#8748D5 #D5484F #96D548 #48D5CE
square
#8748D5 #D5484F #96D548 #48D5CE
split-complementary
#8748D5 #D5CE48 #4FD548
monochromatic
#4C1E84 #682AB6 #8748D5 #A87AE0 #C8ACEC

Accessibility & contrast

On white

5.36
#8748D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8748D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748D5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748D5#FFFFFF#000000##FFFFFF
##8748D51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#766888
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8748d5;
/* rgb */ color: rgb(135, 72, 213);
/* oklch */ color: oklch(55.0% 0.206 300.2);
Tailwind
colors: {
  custom: {
    50: '#af7fe3',
    500: '#8748d5',
    950: '#000000',
  },
}
SCSS
$custom: #8748d5;
$custom-light: #af7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8748d5",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 266.809,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.20635,
    "h": 300.2
  },
  "luminance": 0.1459
}

Semantic roles & 50–950 ramp

primary
#8748D5
secondary
#C0DA9F
accent
#E6429D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8748D5

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

Preview Lab → · Contrast checker → · Palette generator →

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