#8746CD#8746CD

#8746CD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.200 H 302.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8746CD
RGBrgb(135, 70, 205)
HSLhsl(269, 57%, 54%)
HSVhsv(269, 66%, 80%)
CMYKcmyk(34.1%, 65.9%, 0%, 19.6%)
CIE-LABlab(44.15, 53.23, -59.55)
CIE-LCHlch(44.15, 79.87, 311.79°)
OKLaboklab(54.18% 0.1067 -0.1693)
OKLCHoklch(54.18% 0.2 302.2)
XYZxyz(23.1987, 13.9389, 59.2141)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746CD #8CCD46
analogous
#4649CD #8746CD #CB46CD
triadic
#8746CD #CD8746 #46CD87
tetradic
#8746CD #CD4649 #8CCD46 #46CDCB
square
#8746CD #CD4649 #8CCD46 #46CDCB
split-complementary
#8746CD #CDCB46 #49CD46
monochromatic
#4B2078 #692DA8 #8746CD #A676DA #C6A6E7

Accessibility & contrast

On white

5.54
#8746CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8746CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746CD#FFFFFF#000000##FFFFFF
##8746CD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0868CA
Tritanopia (blue-blind)
#796484
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8746cd;
/* rgb */ color: rgb(135, 70, 205);
/* oklch */ color: oklch(54.2% 0.200 302.2);
Tailwind
colors: {
  custom: {
    50: '#af7edd',
    500: '#8746cd',
    950: '#000000',
  },
}
SCSS
$custom: #8746cd;
$custom-light: #af7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8746cd",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 268.889,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.2001,
    "h": 302.2
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#8746CD
secondary
#B8D49B
accent
#E14797
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8746CD

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

Preview Lab → · Contrast checker → · Palette generator →

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