#8748CC#8748CC

#8748CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.196 H 302.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8748CC
RGBrgb(135, 72, 204)
HSLhsl(269, 56%, 54%)
HSVhsv(269, 65%, 80%)
CMYKcmyk(33.8%, 64.7%, 0%, 20%)
CIE-LABlab(44.44, 51.98, -58.50)
CIE-LCHlch(44.44, 78.26, 311.63°)
OKLaboklab(54.36% 0.1046 -0.1662)
OKLCHoklch(54.36% 0.196 302.2)
XYZxyz(23.2056, 14.1452, 58.6228)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748CC #8DCC48
analogous
#484BCC #8748CC #C948CC
triadic
#8748CC #CC8748 #48CC87
tetradic
#8748CC #CC484B #8DCC48 #48CCC9
square
#8748CC #CC484B #8DCC48 #48CCC9
split-complementary
#8748CC #CCC948 #4BCC48
monochromatic
#4B2178 #692FA8 #8748CC #A678D9 #C6A8E7

Accessibility & contrast

On white

5.48
#8748CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8748CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748CC#FFFFFF#000000##FFFFFF
##8748CC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#1469C9
Tritanopia (blue-blind)
#796584
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8748cc;
/* rgb */ color: rgb(135, 72, 204);
/* oklch */ color: oklch(54.4% 0.196 302.2);
Tailwind
colors: {
  custom: {
    50: '#af7fdc',
    500: '#8748cc',
    950: '#000000',
  },
}
SCSS
$custom: #8748cc;
$custom-light: #af7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8748cc",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 268.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.19636,
    "h": 302.2
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#8748CC
secondary
#B9D49C
accent
#E04897
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8748CC

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

Preview Lab → · Contrast checker → · Palette generator →

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