#8748D4#8748D4

#8748D4 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.205 H 300.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8748D4
RGBrgb(135, 72, 212)
HSLhsl(267, 62%, 56%)
HSVhsv(267, 66%, 83%)
CMYKcmyk(36.3%, 66%, 0%, 16.9%)
CIE-LABlab(45.00, 53.95, -62.20)
CIE-LCHlch(45.00, 82.33, 310.94°)
OKLaboklab(54.94% 0.1038 -0.1771)
OKLCHoklch(54.94% 0.205 300.4)
XYZxyz(24.1898, 14.5389, 63.8065)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748D4 #95D448
analogous
#484FD4 #8748D4 #CD48D4
triadic
#8748D4 #D48748 #48D487
tetradic
#8748D4 #D4484F #95D448 #48D4CD
square
#8748D4 #D4484F #95D448 #48D4CD
split-complementary
#8748D4 #D4CD48 #4FD448
monochromatic
#4C1F83 #682AB4 #8748D4 #A77AE0 #C8ABEB

Accessibility & contrast

On white

5.37
#8748D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8748D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748D4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748D4#FFFFFF#000000##FFFFFF
##8748D41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#766888
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8748d4;
/* rgb */ color: rgb(135, 72, 212);
/* oklch */ color: oklch(54.9% 0.205 300.4);
Tailwind
colors: {
  custom: {
    50: '#af7fe2',
    500: '#8748d4',
    950: '#000000',
  },
}
SCSS
$custom: #8748d4;
$custom-light: #af7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8748d4",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 267,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54941,
    "c": 0.20524,
    "h": 300.4
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#8748D4
secondary
#BFD99F
accent
#E5439C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8748D4

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

Preview Lab → · Contrast checker → · Palette generator →

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