#8749DC#8749DC

#8749DC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.213 H 298.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8749DC
RGBrgb(135, 73, 220)
HSLhsl(265, 68%, 57%)
HSVhsv(265, 67%, 86%)
CMYKcmyk(38.6%, 66.8%, 0%, 13.7%)
CIE-LABlab(45.75, 55.44, -65.55)
CIE-LCHlch(45.75, 85.85, 310.22°)
OKLaboklab(55.66% 0.1017 -0.1869)
OKLCHoklch(55.66% 0.213 298.6)
XYZxyz(25.2892, 15.0829, 69.2752)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749DC #9EDC49
analogous
#4955DC #8749DC #D049DC
triadic
#8749DC #DC8749 #49DC87
tetradic
#8749DC #DC4955 #9EDC49 #49DCD0
square
#8749DC #DC4955 #9EDC49 #49DCD0
split-complementary
#8749DC #DCD049 #55DC49
monochromatic
#4C1C8F #6825C2 #8749DC #A97CE6 #CBB0F0

Accessibility & contrast

On white

5.23
#8749DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8749DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749DC#FFFFFF#000000##FFFFFF
##8749DC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#736C8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8749dc;
/* rgb */ color: rgb(135, 73, 220);
/* oklch */ color: oklch(55.7% 0.213 298.6);
Tailwind
colors: {
  custom: {
    50: '#b080e8',
    500: '#8749dc',
    950: '#000000',
  },
}
SCSS
$custom: #8749dc;
$custom-light: #b080e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8749dc",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 265.306,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.21284,
    "h": 298.6
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#8749DC
secondary
#C5DEA3
accent
#EB3DA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8749DC

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

Preview Lab → · Contrast checker → · Palette generator →

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