#8749CC#8749CC

#8749CC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.195 H 302.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8749CC
RGBrgb(135, 73, 204)
HSLhsl(268, 56%, 54%)
HSVhsv(268, 64%, 80%)
CMYKcmyk(33.8%, 64.2%, 0%, 20%)
CIE-LABlab(44.63, 51.48, -58.20)
CIE-LCHlch(44.63, 77.70, 311.49°)
OKLaboklab(54.5% 0.1035 -0.1653)
OKLCHoklch(54.5% 0.195 302)
XYZxyz(23.2707, 14.2756, 58.6445)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749CC #8ECC49
analogous
#494DCC #8749CC #C949CC
triadic
#8749CC #CC8749 #49CC87
tetradic
#8749CC #CC494D #8ECC49 #49CCC9
square
#8749CC #CC494D #8ECC49 #49CCC9
split-complementary
#8749CC #CCC949 #4DCC49
monochromatic
#4B2279 #692FA9 #8749CC #A779D9 #C6A9E7

Accessibility & contrast

On white

5.45
#8749CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8749CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749CC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749CC#FFFFFF#000000##FFFFFF
##8749CC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#1769C9
Tritanopia (blue-blind)
#796684
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8749cc;
/* rgb */ color: rgb(135, 73, 204);
/* oklch */ color: oklch(54.5% 0.195 302.0);
Tailwind
colors: {
  custom: {
    50: '#af7fdc',
    500: '#8749cc',
    950: '#000000',
  },
}
SCSS
$custom: #8749cc;
$custom-light: #af7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8749cc",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 268.397,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.19503,
    "h": 302
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#8749CC
secondary
#BAD49D
accent
#E04898
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8749CC

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

Preview Lab → · Contrast checker → · Palette generator →

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