#8749CB#8749CB

#8749CB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.194 H 302.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8749CB
RGBrgb(135, 73, 203)
HSLhsl(269, 56%, 54%)
HSVhsv(269, 64%, 80%)
CMYKcmyk(33.5%, 64%, 0%, 20.4%)
CIE-LABlab(44.56, 51.23, -57.73)
CIE-LCHlch(44.56, 77.19, 311.59°)
OKLaboklab(54.43% 0.1036 -0.1639)
OKLCHoklch(54.43% 0.194 302.3)
XYZxyz(23.1512, 14.2277, 58.0149)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749CB #8DCB49
analogous
#494CCB #8749CB #C849CB
triadic
#8749CB #CB8749 #49CB87
tetradic
#8749CB #CB494C #8DCB49 #49CBC8
square
#8749CB #CB494C #8DCB49 #49CBC8
split-complementary
#8749CB #CBC849 #4CCB49
monochromatic
#4B2277 #6930A7 #8749CB #A679D9 #C6A8E6

Accessibility & contrast

On white

5.46
#8749CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8749CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749CB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749CB#FFFFFF#000000##FFFFFF
##8749CB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#796583
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8749cb;
/* rgb */ color: rgb(135, 73, 203);
/* oklch */ color: oklch(54.4% 0.194 302.3);
Tailwind
colors: {
  custom: {
    50: '#af7fdc',
    500: '#8749cb',
    950: '#000000',
  },
}
SCSS
$custom: #8749cb;
$custom-light: #af7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8749cb",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 268.615,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.1939,
    "h": 302.3
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#8749CB
secondary
#B9D49C
accent
#DF4997
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8749CB

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

Preview Lab → · Contrast checker → · Palette generator →

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