#8745BE#8745BE

#8745BE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.185 H 306.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8745BE
RGBrgb(135, 69, 190)
HSLhsl(273, 48%, 51%)
HSVhsv(273, 64%, 75%)
CMYKcmyk(28.9%, 63.7%, 0%, 25.5%)
CIE-LABlab(42.95, 50.14, -52.77)
CIE-LCHlch(42.95, 72.79, 313.53°)
OKLaboklab(52.99% 0.1091 -0.1494)
OKLCHoklch(52.99% 0.185 306.1)
XYZxyz(21.4121, 13.1250, 50.1106)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745BE #7CBE45
analogous
#4A45BE #8745BE #BE45B8
triadic
#8745BE #BE8745 #45BE87
tetradic
#8745BE #BE4A45 #7CBE45 #45B8BE
square
#8745BE #BE4A45 #7CBE45 #45B8BE
split-complementary
#8745BE #B8BE45 #45BE4A
monochromatic
#472365 #673393 #8745BE #A472CE #C2A0DE

Accessibility & contrast

On white

5.79
#8745BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8745BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745BE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745BE#FFFFFF#000000##FFFFFF
##8745BE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#7E5E7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8745be;
/* rgb */ color: rgb(135, 69, 190);
/* oklch */ color: oklch(53.0% 0.185 306.1);
Tailwind
colors: {
  custom: {
    50: '#ae7dd2',
    500: '#8745be',
    950: '#000000',
  },
}
SCSS
$custom: #8745be;
$custom-light: #ae7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8745be",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 272.727,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.18496,
    "h": 306.1
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#8745BE
secondary
#ADCA95
accent
#D8508E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8745BE

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

Preview Lab → · Contrast checker → · Palette generator →

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