#8745D4#8745D4

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

Color values

HEX#8745D4
RGBrgb(135, 69, 212)
HSLhsl(268, 62%, 55%)
HSVhsv(268, 67%, 83%)
CMYKcmyk(36.3%, 67.5%, 0%, 16.9%)
CIE-LABlab(44.46, 55.42, -63.06)
CIE-LCHlch(44.46, 83.96, 311.31°)
OKLaboklab(54.56% 0.107 -0.1796)
OKLCHoklch(54.56% 0.209 300.8)
XYZxyz(24.0006, 14.1604, 63.7434)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745D4 #92D445
analogous
#454BD4 #8745D4 #CE45D4
triadic
#8745D4 #D48745 #45D487
tetradic
#8745D4 #D4454B #92D445 #45D4CE
square
#8745D4 #D4454B #92D445 #45D4CE
split-complementary
#8745D4 #D4CE45 #4BD445
monochromatic
#4B1E81 #6929B3 #8745D4 #A777DF #C7A8EB

Accessibility & contrast

On white

5.48
#8745D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8745D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745D4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745D4#FFFFFF#000000##FFFFFF
##8745D41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#766687
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8745d4;
/* rgb */ color: rgb(135, 69, 212);
/* oklch */ color: oklch(54.6% 0.209 300.8);
Tailwind
colors: {
  custom: {
    50: '#b07de2',
    500: '#8745d4',
    950: '#000000',
  },
}
SCSS
$custom: #8745d4;
$custom-light: #b07de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8745d4",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 267.692,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.20903,
    "h": 300.8
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#8745D4
secondary
#BDD89C
accent
#E6429A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8745D4

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

Preview Lab → · Contrast checker → · Palette generator →

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