#8749C2#8749C2

#8749C2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.184 H 304.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8749C2
RGBrgb(135, 73, 194)
HSLhsl(271, 50%, 52%)
HSVhsv(271, 62%, 76%)
CMYKcmyk(30.4%, 62.4%, 0%, 23.9%)
CIE-LABlab(43.96, 49.05, -53.48)
CIE-LCHlch(43.96, 72.57, 312.53°)
OKLaboklab(53.81% 0.1041 -0.1514)
OKLCHoklch(53.81% 0.184 304.5)
XYZxyz(22.1097, 13.8111, 52.5295)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749C2 #84C249
analogous
#4B49C2 #8749C2 #C249C0
triadic
#8749C2 #C28749 #49C287
tetradic
#8749C2 #C24B49 #84C249 #49C0C2
square
#8749C2 #C24B49 #84C249 #49C0C2
split-complementary
#8749C2 #C0C249 #49C24B
monochromatic
#49246C #68349A #8749C2 #A577D1 #C3A5E1

Accessibility & contrast

On white

5.58
#8749C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8749C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749C2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749C2#FFFFFF#000000##FFFFFF
##8749C21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#7C627F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8749c2;
/* rgb */ color: rgb(135, 73, 194);
/* oklch */ color: oklch(53.8% 0.184 304.5);
Tailwind
colors: {
  custom: {
    50: '#ae7fd5',
    500: '#8749c2',
    950: '#000000',
  },
}
SCSS
$custom: #8749c2;
$custom-light: #ae7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8749c2",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 270.744,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.18379,
    "h": 304.5
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#8749C2
secondary
#B3CE99
accent
#D94E92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8749C2

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

Preview Lab → · Contrast checker → · Palette generator →

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