#8745CC#8745CC

#8745CC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.200 H 302.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8745CC
RGBrgb(135, 69, 204)
HSLhsl(269, 57%, 54%)
HSVhsv(269, 66%, 80%)
CMYKcmyk(33.8%, 66.2%, 0%, 20%)
CIE-LABlab(43.90, 53.48, -59.38)
CIE-LCHlch(43.90, 79.91, 312.01°)
OKLaboklab(53.97% 0.1079 -0.1688)
OKLCHoklch(53.97% 0.2 302.6)
XYZxyz(23.0163, 13.7667, 58.5597)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745CC #8ACC45
analogous
#4546CC #8745CC #CA45CC
triadic
#8745CC #CC8745 #45CC87
tetradic
#8745CC #CC4546 #8ACC45 #45CCCA
square
#8745CC #CC4546 #8ACC45 #45CCCA
split-complementary
#8745CC #CCCA45 #46CC45
monochromatic
#4A2076 #692EA6 #8745CC #A675D9 #C5A5E6

Accessibility & contrast

On white

5.59
#8745CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8745CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745CC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745CC#FFFFFF#000000##FFFFFF
##8745CC1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0867C9
Tritanopia (blue-blind)
#796383
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8745cc;
/* rgb */ color: rgb(135, 69, 204);
/* oklch */ color: oklch(54.0% 0.200 302.6);
Tailwind
colors: {
  custom: {
    50: '#af7ddc',
    500: '#8745cc',
    950: '#000000',
  },
}
SCSS
$custom: #8745cc;
$custom-light: #af7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8745cc",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 269.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.20032,
    "h": 302.6
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#8745CC
secondary
#B7D399
accent
#E04896
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8745CC

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

Preview Lab → · Contrast checker → · Palette generator →

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