#8745D2#8745D2

#8745D2 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.207 H 301.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8745D2
RGBrgb(135, 69, 210)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 67%, 82%)
CMYKcmyk(35.7%, 67.1%, 0%, 17.6%)
CIE-LABlab(44.32, 54.93, -62.15)
CIE-LCHlch(44.32, 82.94, 311.47°)
OKLaboklab(54.41% 0.1072 -0.1769)
OKLCHoklch(54.41% 0.207 301.2)
XYZxyz(23.7498, 14.0602, 62.4229)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745D2 #90D245
analogous
#454AD2 #8745D2 #CD45D2
triadic
#8745D2 #D28745 #45D287
tetradic
#8745D2 #D2454A #90D245 #45D2CD
square
#8745D2 #D2454A #90D245 #45D2CD
split-complementary
#8745D2 #D2CD45 #4AD245
monochromatic
#4B1F7E #692AAF #8745D2 #A776DE #C7A8EA

Accessibility & contrast

On white

5.51
#8745D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8745D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745D2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745D2#FFFFFF#000000##FFFFFF
##8745D21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#776686
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8745d2;
/* rgb */ color: rgb(135, 69, 210);
/* oklch */ color: oklch(54.4% 0.207 301.2);
Tailwind
colors: {
  custom: {
    50: '#af7de1',
    500: '#8745d2',
    950: '#000000',
  },
}
SCSS
$custom: #8745d2;
$custom-light: #af7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8745d2",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 268.085,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.20686,
    "h": 301.2
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#8745D2
secondary
#BBD79C
accent
#E44499
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8745D2

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

Preview Lab → · Contrast checker → · Palette generator →

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