#8746CA#8746CA

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

Color values

HEX#8746CA
RGBrgb(135, 70, 202)
HSLhsl(270, 55%, 53%)
HSVhsv(270, 65%, 79%)
CMYKcmyk(33.2%, 65.3%, 0%, 20.8%)
CIE-LABlab(43.94, 52.50, -58.15)
CIE-LCHlch(43.94, 78.34, 312.07°)
OKLaboklab(53.96% 0.107 -0.1652)
OKLCHoklch(53.96% 0.197 302.9)
XYZxyz(22.8400, 13.7955, 57.3252)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746CA #89CA46
analogous
#4647CA #8746CA #C946CA
triadic
#8746CA #CA8746 #46CA87
tetradic
#8746CA #CA4647 #89CA46 #46CAC9
square
#8746CA #CA4647 #89CA46 #46CAC9
split-complementary
#8746CA #CAC946 #47CA46
monochromatic
#4A2174 #692FA4 #8746CA #A676D8 #C5A5E5

Accessibility & contrast

On white

5.59
#8746CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8746CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746CA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746CA#FFFFFF#000000##FFFFFF
##8746CA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#1468C7
Tritanopia (blue-blind)
#7A6382
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8746ca;
/* rgb */ color: rgb(135, 70, 202);
/* oklch */ color: oklch(54.0% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#af7ddb',
    500: '#8746ca',
    950: '#000000',
  },
}
SCSS
$custom: #8746ca;
$custom-light: #af7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8746ca",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 269.545,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.19681,
    "h": 302.9
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#8746CA
secondary
#B6D29A
accent
#DF4995
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8746CA

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

Preview Lab → · Contrast checker → · Palette generator →

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