#8746CB#8746CB

#8746CB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.198 H 302.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8746CB
RGBrgb(135, 70, 203)
HSLhsl(269, 56%, 54%)
HSVhsv(269, 66%, 80%)
CMYKcmyk(33.5%, 65.5%, 0%, 20.4%)
CIE-LABlab(44.01, 52.74, -58.62)
CIE-LCHlch(44.01, 78.85, 311.98°)
OKLaboklab(54.03% 0.1069 -0.1665)
OKLCHoklch(54.03% 0.198 302.7)
XYZxyz(22.9588, 13.8430, 57.9508)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746CB #8ACB46
analogous
#4647CB #8746CB #C946CB
triadic
#8746CB #CB8746 #46CB87
tetradic
#8746CB #CB4647 #8ACB46 #46CBC9
square
#8746CB #CB4647 #8ACB46 #46CBC9
split-complementary
#8746CB #CBC946 #47CB46
monochromatic
#4A2176 #692EA5 #8746CB #A676D8 #C5A6E6

Accessibility & contrast

On white

5.57
#8746CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8746CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746CB#FFFFFF#000000##FFFFFF
##8746CB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#796482
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8746cb;
/* rgb */ color: rgb(135, 70, 203);
/* oklch */ color: oklch(54.0% 0.198 302.7);
Tailwind
colors: {
  custom: {
    50: '#af7ddc',
    500: '#8746cb',
    950: '#000000',
  },
}
SCSS
$custom: #8746cb;
$custom-light: #af7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8746cb",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 269.323,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.19791,
    "h": 302.7
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#8746CB
secondary
#B7D39A
accent
#DF4896
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8746CB

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

Preview Lab → · Contrast checker → · Palette generator →

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