#8746DC#8746DC

#8746DC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.216 H 299.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8746DC
RGBrgb(135, 70, 220)
HSLhsl(266, 68%, 57%)
HSVhsv(266, 68%, 86%)
CMYKcmyk(38.6%, 68.2%, 0%, 13.7%)
CIE-LABlab(45.22, 56.90, -66.41)
CIE-LCHlch(45.22, 87.46, 310.59°)
OKLaboklab(55.28% 0.1048 -0.1894)
OKLCHoklch(55.28% 0.217 299)
XYZxyz(25.0968, 14.6982, 69.2111)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746DC #9BDC46
analogous
#4650DC #8746DC #D246DC
triadic
#8746DC #DC8746 #46DC87
tetradic
#8746DC #DC4650 #9BDC46 #46DCD2
square
#8746DC #DC4650 #9BDC46 #46DCD2
split-complementary
#8746DC #DCD246 #50DC46
monochromatic
#4C1B8D #6824C0 #8746DC #A879E6 #CAADEF

Accessibility & contrast

On white

5.33
#8746DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8746DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746DC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746DC#FFFFFF#000000##FFFFFF
##8746DC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#736A8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8746dc;
/* rgb */ color: rgb(135, 70, 220);
/* oklch */ color: oklch(55.3% 0.216 299.0);
Tailwind
colors: {
  custom: {
    50: '#b07ee8',
    500: '#8746dc',
    950: '#000000',
  },
}
SCSS
$custom: #8746dc;
$custom-light: #b07ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8746dc",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 266,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.2165,
    "h": 299
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#8746DC
secondary
#C3DDA0
accent
#EB3DA0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8746DC

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

Preview Lab → · Contrast checker → · Palette generator →

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