#8749BA#8749BA

#8749BA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.175 H 306.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8749BA
RGBrgb(135, 73, 186)
HSLhsl(273, 45%, 51%)
HSVhsv(273, 61%, 73%)
CMYKcmyk(27.4%, 60.8%, 0%, 27.1%)
CIE-LABlab(43.45, 47.14, -49.63)
CIE-LCHlch(43.45, 68.46, 313.53°)
OKLaboklab(53.27% 0.1044 -0.1402)
OKLCHoklch(53.27% 0.175 306.7)
XYZxyz(21.2353, 13.4614, 47.9245)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749BA #7CBA49
analogous
#4E49BA #8749BA #BA49B5
triadic
#8749BA #BA8749 #49BA87
tetradic
#8749BA #BA4E49 #7CBA49 #49B5BA
square
#8749BA #BA4E49 #7CBA49 #49B5BA
split-complementary
#8749BA #B5BA49 #49BA4E
monochromatic
#472663 #67368F #8749BA #A475CB #C2A2DC

Accessibility & contrast

On white

5.69
#8749BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8749BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749BA#FFFFFF#000000##FFFFFF
##8749BA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#7F5F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8749ba;
/* rgb */ color: rgb(135, 73, 186);
/* oklch */ color: oklch(53.3% 0.175 306.7);
Tailwind
colors: {
  custom: {
    50: '#ad7fcf',
    500: '#8749ba',
    950: '#000000',
  },
}
SCSS
$custom: #8749ba;
$custom-light: #ad7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8749ba",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 272.92,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53272,
    "c": 0.17478,
    "h": 306.7
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#8749BA
secondary
#ADC896
accent
#D5538E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8749BA

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

Preview Lab → · Contrast checker → · Palette generator →

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