#8751BE#8751BE

#8751BE is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.167 H 304.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8751BE
RGBrgb(135, 81, 190)
HSLhsl(270, 46%, 53%)
HSVhsv(270, 57%, 75%)
CMYKcmyk(28.9%, 57.4%, 0%, 25.5%)
CIE-LABlab(45.29, 43.84, -49.01)
CIE-LCHlch(45.29, 65.76, 311.81°)
OKLaboklab(54.7% 0.0943 -0.1384)
OKLCHoklch(54.7% 0.167 304.3)
XYZxyz(22.2263, 14.7535, 50.3820)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751BE #88BE51
analogous
#5151BE #8751BE #BE51BE
triadic
#8751BE #BE8751 #51BE87
tetradic
#8751BE #BE5151 #88BE51 #51BEBE
square
#8751BE #BE5151 #88BE51 #51BEBE
split-complementary
#8751BE #BEBE51 #51BE51
monochromatic
#4A286C #683999 #8751BE #A67ECF #C4AADF

Accessibility & contrast

On white

5.32
#8751BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8751BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751BE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751BE#FFFFFF#000000##FFFFFF
##8751BE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#7D6680
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8751be;
/* rgb */ color: rgb(135, 81, 190);
/* oklch */ color: oklch(54.7% 0.167 304.3);
Tailwind
colors: {
  custom: {
    50: '#ad84d2',
    500: '#8751be',
    950: '#000000',
  },
}
SCSS
$custom: #8751be;
$custom-light: #ad84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8751be",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 269.725,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.16744,
    "h": 304.3
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#8751BE
secondary
#B6CD9E
accent
#D55394
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8751BE

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

Preview Lab → · Contrast checker → · Palette generator →

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