#8745DA#8745DA

#8745DA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.216 H 299.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8745DA
RGBrgb(135, 69, 218)
HSLhsl(267, 67%, 56%)
HSVhsv(267, 68%, 85%)
CMYKcmyk(38.1%, 68.3%, 0%, 14.5%)
CIE-LABlab(44.90, 56.89, -65.79)
CIE-LCHlch(44.90, 86.98, 310.85°)
OKLaboklab(55.01% 0.1061 -0.1876)
OKLCHoklch(55.01% 0.216 299.5)
XYZxyz(24.7715, 14.4688, 67.8038)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745DA #98DA45
analogous
#454EDA #8745DA #D145DA
triadic
#8745DA #DA8745 #45DA87
tetradic
#8745DA #DA454E #98DA45 #45DAD1
square
#8745DA #DA454E #98DA45 #45DAD1
split-complementary
#8745DA #DAD145 #4EDA45
monochromatic
#4C1B89 #6825BC #8745DA #A878E4 #C9ABEE

Accessibility & contrast

On white

5.39
#8745DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8745DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745DA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745DA#FFFFFF#000000##FFFFFF
##8745DA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#74698A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8745da;
/* rgb */ color: rgb(135, 69, 218);
/* oklch */ color: oklch(55.0% 0.216 299.5);
Tailwind
colors: {
  custom: {
    50: '#b07de6',
    500: '#8745da',
    950: '#000000',
  },
}
SCSS
$custom: #8745da;
$custom-light: #b07de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8745da",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 266.577,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.21555,
    "h": 299.5
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#8745DA
secondary
#C1DC9F
accent
#EA3E9E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8745DA

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

Preview Lab → · Contrast checker → · Palette generator →

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