#8745E6#8745E6

#8745E6 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.228 H 297.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8745E6
RGBrgb(135, 69, 230)
HSLhsl(265, 76%, 59%)
HSVhsv(265, 70%, 90%)
CMYKcmyk(41.3%, 70%, 0%, 9.8%)
CIE-LABlab(45.80, 59.86, -71.15)
CIE-LCHlch(45.80, 92.98, 310.07°)
OKLaboklab(55.93% 0.1041 -0.2034)
OKLCHoklch(55.93% 0.228 297.1)
XYZxyz(26.3990, 15.1198, 76.3751)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745E6 #A4E645
analogous
#4553E6 #8745E6 #D745E6
triadic
#8745E6 #E68745 #45E687
tetradic
#8745E6 #E64553 #A4E645 #45E6D7
square
#8745E6 #E64553 #A4E645 #45E6D7
split-complementary
#8745E6 #E6D745 #53E645
monochromatic
#4C159C #671CD2 #8745E6 #AA7BED #CDB1F5

Accessibility & contrast

On white

5.22
#8745E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8745E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745E6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745E6#FFFFFF#000000##FFFFFF
##8745E61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#6F6D91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8745e6;
/* rgb */ color: rgb(135, 69, 230);
/* oklch */ color: oklch(55.9% 0.228 297.1);
Tailwind
colors: {
  custom: {
    50: '#b17eef',
    500: '#8745e6',
    950: '#000000',
  },
}
SCSS
$custom: #8745e6;
$custom-light: #b17eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8745e6",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 264.596,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.22848,
    "h": 297.1
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#8745E6
secondary
#C9E3A4
accent
#F335A5
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8745E6

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

Preview Lab → · Contrast checker → · Palette generator →

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