#8745E2#8745E2

#8745E2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.224 H 297.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8745E2
RGBrgb(135, 69, 226)
HSLhsl(265, 73%, 58%)
HSVhsv(265, 69%, 89%)
CMYKcmyk(40.3%, 69.5%, 0%, 11.4%)
CIE-LABlab(45.49, 58.86, -69.38)
CIE-LCHlch(45.49, 90.99, 310.31°)
OKLaboklab(55.62% 0.1048 -0.1982)
OKLCHoklch(55.62% 0.224 297.9)
XYZxyz(25.8437, 14.8977, 73.4507)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745E2 #A0E245
analogous
#4551E2 #8745E2 #D545E2
triadic
#8745E2 #E28745 #45E287
tetradic
#8745E2 #E24551 #A0E245 #45E2D5
square
#8745E2 #E24551 #A0E245 #45E2D5
split-complementary
#8745E2 #E2D545 #51E245
monochromatic
#4C1795 #6720CA #8745E2 #A97AEA #CBAFF3

Accessibility & contrast

On white

5.28
#8745E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8745E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745E2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745E2#FFFFFF#000000##FFFFFF
##8745E21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#716C8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8745e2;
/* rgb */ color: rgb(135, 69, 226);
/* oklch */ color: oklch(55.6% 0.224 297.9);
Tailwind
colors: {
  custom: {
    50: '#b17eec',
    500: '#8745e2',
    950: '#000000',
  },
}
SCSS
$custom: #8745e2;
$custom-light: #b17eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8745e2",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 265.223,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55618,
    "c": 0.22418,
    "h": 297.9
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#8745E2
secondary
#C6E1A2
accent
#F038A3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8745E2

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

Preview Lab → · Contrast checker → · Palette generator →

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