#8748D2#8748D2

#8748D2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.203 H 300.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8748D2
RGBrgb(135, 72, 210)
HSLhsl(267, 61%, 55%)
HSVhsv(267, 66%, 82%)
CMYKcmyk(35.7%, 65.7%, 0%, 17.6%)
CIE-LABlab(44.86, 53.45, -61.28)
CIE-LCHlch(44.86, 81.32, 311.10°)
OKLaboklab(54.8% 0.104 -0.1744)
OKLCHoklch(54.8% 0.203 300.8)
XYZxyz(23.9391, 14.4386, 62.4860)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748D2 #93D248
analogous
#484ED2 #8748D2 #CC48D2
triadic
#8748D2 #D28748 #48D287
tetradic
#8748D2 #D2484E #93D248 #48D2CC
square
#8748D2 #D2484E #93D248 #48D2CC
split-complementary
#8748D2 #D2CC48 #4ED248
monochromatic
#4C2080 #692CB1 #8748D2 #A779DE #C7AAEA

Accessibility & contrast

On white

5.40
#8748D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8748D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748D2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748D2#FFFFFF#000000##FFFFFF
##8748D21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#776787
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8748d2;
/* rgb */ color: rgb(135, 72, 210);
/* oklch */ color: oklch(54.8% 0.203 300.8);
Tailwind
colors: {
  custom: {
    50: '#af7fe1',
    500: '#8748d2',
    950: '#000000',
  },
}
SCSS
$custom: #8748d2;
$custom-light: #af7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8748d2",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 267.391,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.20303,
    "h": 300.8
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#8748D2
secondary
#BDD89E
accent
#E4449B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8748D2

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

Preview Lab → · Contrast checker → · Palette generator →

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