#8745D5#8745D5

#8745D5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.210 H 300.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8745D5
RGBrgb(135, 69, 213)
HSLhsl(268, 63%, 55%)
HSVhsv(268, 68%, 84%)
CMYKcmyk(36.6%, 67.6%, 0%, 16.5%)
CIE-LABlab(44.53, 55.66, -63.52)
CIE-LCHlch(44.53, 84.46, 311.23°)
OKLaboklab(54.63% 0.1068 -0.1809)
OKLCHoklch(54.63% 0.21 300.6)
XYZxyz(24.1271, 14.2111, 64.4098)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745D5 #93D545
analogous
#454BD5 #8745D5 #CF45D5
triadic
#8745D5 #D58745 #45D587
tetradic
#8745D5 #D5454B #93D545 #45D5CF
square
#8745D5 #D5454B #93D545 #45D5CF
split-complementary
#8745D5 #D5CF45 #4BD545
monochromatic
#4C1D82 #6929B4 #8745D5 #A777E0 #C7A9EC

Accessibility & contrast

On white

5.47
#8745D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8745D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745D5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745D5#FFFFFF#000000##FFFFFF
##8745D51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#766788
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8745d5;
/* rgb */ color: rgb(135, 69, 213);
/* oklch */ color: oklch(54.6% 0.210 300.6);
Tailwind
colors: {
  custom: {
    50: '#b07de3',
    500: '#8745d5',
    950: '#000000',
  },
}
SCSS
$custom: #8745d5;
$custom-light: #b07de3;
$custom-dark: #000000;
JSON
{
  "hex": "#8745d5",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 267.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.21013,
    "h": 300.6
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#8745D5
secondary
#BDD99D
accent
#E6429B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8745D5

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

Preview Lab → · Contrast checker → · Palette generator →

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