#8745D8#8745D8

#8745D8 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.213 H 299.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8745D8
RGBrgb(135, 69, 216)
HSLhsl(267, 65%, 56%)
HSVhsv(267, 68%, 85%)
CMYKcmyk(37.5%, 68.1%, 0%, 15.3%)
CIE-LABlab(44.75, 56.40, -64.89)
CIE-LCHlch(44.75, 85.97, 311.00°)
OKLaboklab(54.86% 0.1064 -0.185)
OKLCHoklch(54.86% 0.213 299.9)
XYZxyz(24.5114, 14.3648, 66.4337)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745D8 #96D845
analogous
#454CD8 #8745D8 #D045D8
triadic
#8745D8 #D88745 #45D887
tetradic
#8745D8 #D8454C #96D845 #45D8D0
square
#8745D8 #D8454C #96D845 #45D8D0
split-complementary
#8745D8 #D8D045 #4CD845
monochromatic
#4C1C86 #6827B9 #8745D8 #A878E3 #C8AAED

Accessibility & contrast

On white

5.42
#8745D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8745D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745D8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745D8#FFFFFF#000000##FFFFFF
##8745D81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#756889
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8745d8;
/* rgb */ color: rgb(135, 69, 216);
/* oklch */ color: oklch(54.9% 0.213 299.9);
Tailwind
colors: {
  custom: {
    50: '#b07de5',
    500: '#8745d8',
    950: '#000000',
  },
}
SCSS
$custom: #8745d8;
$custom-light: #b07de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8745d8",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 266.939,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.21338,
    "h": 299.9
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#8745D8
secondary
#C0DB9E
accent
#E8409D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8745D8

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

Preview Lab → · Contrast checker → · Palette generator →

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