#8751CD#8751CD

#8751CD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.185 H 300.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8751CD
RGBrgb(135, 81, 205)
HSLhsl(266, 55%, 56%)
HSVhsv(266, 60%, 80%)
CMYKcmyk(34.1%, 60.5%, 0%, 19.6%)
CIE-LABlab(46.24, 47.56, -56.18)
CIE-LCHlch(46.24, 73.60, 310.25°)
OKLaboklab(55.69% 0.0941 -0.1594)
OKLCHoklch(55.69% 0.185 300.6)
XYZxyz(23.9509, 15.4434, 59.4648)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751CD #97CD51
analogous
#5159CD #8751CD #C551CD
triadic
#8751CD #CD8751 #51CD87
tetradic
#8751CD #CD5159 #97CD51 #51CDC5
square
#8751CD #CD5159 #97CD51 #51CDC5
split-complementary
#8751CD #CDC551 #59CD51
monochromatic
#4C257F #6832AF #8751CD #A881DB #C9B0E8

Accessibility & contrast

On white

5.14
#8751CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8751CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751CD#FFFFFF#000000##FFFFFF
##8751CD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#786B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8751cd;
/* rgb */ color: rgb(135, 81, 205);
/* oklch */ color: oklch(55.7% 0.185 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae84dd',
    500: '#8751cd',
    950: '#000000',
  },
}
SCSS
$custom: #8751cd;
$custom-light: #ae84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8751cd",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 266.129,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.18511,
    "h": 300.6
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#8751CD
secondary
#C0D7A3
accent
#DF499E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8751CD

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

Preview Lab → · Contrast checker → · Palette generator →

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