#8745AF#8745AF

#8745AF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.168 H 310.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8745AF
RGBrgb(135, 69, 175)
HSLhsl(277, 43%, 48%)
HSVhsv(277, 61%, 69%)
CMYKcmyk(22.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(42.00, 46.66, -45.48)
CIE-LCHlch(42.00, 65.16, 315.73°)
OKLaboklab(52% 0.1096 -0.128)
OKLCHoklch(52% 0.168 310.6)
XYZxyz(19.8562, 12.5027, 41.9164)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745AF #6DAF45
analogous
#5245AF #8745AF #AF45A2
triadic
#8745AF #AF8745 #45AF87
tetradic
#8745AF #AF5245 #6DAF45 #45A2AF
square
#8745AF #AF5245 #6DAF45 #45A2AF
split-complementary
#8745AF #A2AF45 #45AF52
monochromatic
#432257 #653483 #8745AF #A46CC5 #BF98D6

Accessibility & contrast

On white

6.00
#8745AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8745AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745AF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745AF#FFFFFF#000000##FFFFFF
##8745AF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#825973
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8745af;
/* rgb */ color: rgb(135, 69, 175);
/* oklch */ color: oklch(52.0% 0.168 310.6);
Tailwind
colors: {
  custom: {
    50: '#ad7cc7',
    500: '#8745af',
    950: '#000000',
  },
}
SCSS
$custom: #8745af;
$custom-light: #ad7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8745af",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 277.358,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.16848,
    "h": 310.6
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#8745AF
secondary
#A1C28D
accent
#D35584
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8745AF

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

Preview Lab → · Contrast checker → · Palette generator →

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