#8746D2#8746D2

#8746D2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.206 H 301.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8746D2
RGBrgb(135, 70, 210)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 67%, 82%)
CMYKcmyk(35.7%, 66.7%, 0%, 17.6%)
CIE-LABlab(44.50, 54.44, -61.86)
CIE-LCHlch(44.50, 82.41, 311.35°)
OKLaboklab(54.54% 0.1062 -0.1761)
OKLCHoklch(54.54% 0.206 301.1)
XYZxyz(23.8119, 14.1842, 62.4436)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746D2 #91D246
analogous
#464BD2 #8746D2 #CD46D2
triadic
#8746D2 #D28746 #46D287
tetradic
#8746D2 #D2464B #91D246 #46D2CD
square
#8746D2 #D2464B #91D246 #46D2CD
split-complementary
#8746D2 #D2CD46 #4BD246
monochromatic
#4B1F7F #692BB0 #8746D2 #A777DE #C7A8EA

Accessibility & contrast

On white

5.47
#8746D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8746D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746D2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746D2#FFFFFF#000000##FFFFFF
##8746D21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#776686
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8746d2;
/* rgb */ color: rgb(135, 70, 210);
/* oklch */ color: oklch(54.5% 0.206 301.1);
Tailwind
colors: {
  custom: {
    50: '#af7ee1',
    500: '#8746d2',
    950: '#000000',
  },
}
SCSS
$custom: #8746d2;
$custom-light: #af7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8746d2",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 267.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.20559,
    "h": 301.1
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#8746D2
secondary
#BCD79C
accent
#E4449A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8746D2

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

Preview Lab → · Contrast checker → · Palette generator →

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