#8745C9#8745C9

#8745C9 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.8% C 0.197 H 303.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8745C9
RGBrgb(135, 69, 201)
HSLhsl(270, 55%, 53%)
HSVhsv(270, 66%, 79%)
CMYKcmyk(32.8%, 65.7%, 0%, 21.2%)
CIE-LABlab(43.69, 52.75, -57.98)
CIE-LCHlch(43.69, 78.39, 312.30°)
OKLaboklab(53.76% 0.1082 -0.1646)
OKLCHoklch(53.76% 0.197 303.3)
XYZxyz(22.6600, 13.6242, 56.6830)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745C9 #87C945
analogous
#4545C9 #8745C9 #C945C9
triadic
#8745C9 #C98745 #45C987
tetradic
#8745C9 #C94545 #87C945 #45C9C9
square
#8745C9 #C94545 #87C945 #45C9C9
split-complementary
#8745C9 #C9C945 #45C945
monochromatic
#4A2172 #682FA2 #8745C9 #A674D7 #C4A4E5

Accessibility & contrast

On white

5.64
#8745C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8745C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745C9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745C9#FFFFFF#000000##FFFFFF
##8745C91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#1467C6
Tritanopia (blue-blind)
#7A6281
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8745c9;
/* rgb */ color: rgb(135, 69, 201);
/* oklch */ color: oklch(53.8% 0.197 303.3);
Tailwind
colors: {
  custom: {
    50: '#af7dda',
    500: '#8745c9',
    950: '#000000',
  },
}
SCSS
$custom: #8745c9;
$custom-light: #af7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#8745c9",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 270,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.19703,
    "h": 303.3
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#8745C9
secondary
#B5D198
accent
#DE4994
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8745C9

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

Preview Lab → · Contrast checker → · Palette generator →

#8745C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva