#8749D4#8749D4

#8749D4 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.204 H 300.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8749D4
RGBrgb(135, 73, 212)
HSLhsl(267, 62%, 56%)
HSVhsv(267, 66%, 83%)
CMYKcmyk(36.3%, 65.6%, 0%, 16.9%)
CIE-LABlab(45.18, 53.45, -61.91)
CIE-LCHlch(45.18, 81.79, 310.81°)
OKLaboklab(55.07% 0.1027 -0.1762)
OKLCHoklch(55.07% 0.204 300.2)
XYZxyz(24.2550, 14.6693, 63.8282)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749D4 #96D449
analogous
#4950D4 #8749D4 #CD49D4
triadic
#8749D4 #D48749 #49D487
tetradic
#8749D4 #D44950 #96D449 #49D4CD
square
#8749D4 #D44950 #96D449 #49D4CD
split-complementary
#8749D4 #D4CD49 #50D449
monochromatic
#4C1F84 #682BB5 #8749D4 #A87BE0 #C8ACEB

Accessibility & contrast

On white

5.34
#8749D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8749D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749D4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749D4#FFFFFF#000000##FFFFFF
##8749D41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#766988
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8749d4;
/* rgb */ color: rgb(135, 73, 212);
/* oklch */ color: oklch(55.1% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#af80e2',
    500: '#8749d4',
    950: '#000000',
  },
}
SCSS
$custom: #8749d4;
$custom-light: #af80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8749d4",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 266.763,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.20396,
    "h": 300.2
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#8749D4
secondary
#C0D9A0
accent
#E5439D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8749D4

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

Preview Lab → · Contrast checker → · Palette generator →

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