#8748D3#8748D3

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

Color values

HEX#8748D3
RGBrgb(135, 72, 211)
HSLhsl(267, 61%, 55%)
HSVhsv(267, 66%, 83%)
CMYKcmyk(36%, 65.9%, 0%, 17.3%)
CIE-LABlab(44.93, 53.70, -61.74)
CIE-LCHlch(44.93, 81.83, 311.02°)
OKLaboklab(54.87% 0.1039 -0.1757)
OKLCHoklch(54.87% 0.204 300.6)
XYZxyz(24.0641, 14.4886, 63.1442)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748D3 #94D348
analogous
#484FD3 #8748D3 #CC48D3
triadic
#8748D3 #D38748 #48D387
tetradic
#8748D3 #D3484F #94D348 #48D3CC
square
#8748D3 #D3484F #94D348 #48D3CC
split-complementary
#8748D3 #D3CC48 #4FD348
monochromatic
#4C1F81 #692BB3 #8748D3 #A779DF #C8ABEB

Accessibility & contrast

On white

5.39
#8748D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8748D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748D3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748D3#FFFFFF#000000##FFFFFF
##8748D31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#766887
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8748d3;
/* rgb */ color: rgb(135, 72, 211);
/* oklch */ color: oklch(54.9% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#af7fe1',
    500: '#8748d3',
    950: '#000000',
  },
}
SCSS
$custom: #8748d3;
$custom-light: #af7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8748d3",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 267.194,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.20414,
    "h": 300.6
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#8748D3
secondary
#BED89E
accent
#E4439B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8748D3

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

Preview Lab → · Contrast checker → · Palette generator →

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