#8751DD#8751DD

#8751DD is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.204 H 297.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8751DD
RGBrgb(135, 81, 221)
HSLhsl(263, 67%, 59%)
HSVhsv(263, 63%, 87%)
CMYKcmyk(38.9%, 63.3%, 0%, 13.3%)
CIE-LABlab(47.31, 51.62, -63.59)
CIE-LCHlch(47.31, 81.91, 309.07°)
OKLaboklab(56.81% 0.0931 -0.1812)
OKLCHoklch(56.81% 0.204 297.2)
XYZxyz(25.9819, 16.2558, 70.1614)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751DD #A7DD51
analogous
#5161DD #8751DD #CD51DD
triadic
#8751DD #DD8751 #51DD87
tetradic
#8751DD #DD5161 #A7DD51 #51DDCD
square
#8751DD #DD5161 #A7DD51 #51DDCD
split-complementary
#8751DD #DDCD51 #61DD51
monochromatic
#4C1D96 #6627C9 #8751DD #AA84E7 #CEB7F1

Accessibility & contrast

On white

4.94
#8751DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8751DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751DD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751DD#FFFFFF#000000##FFFFFF
##8751DD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#727190
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8751dd;
/* rgb */ color: rgb(135, 81, 221);
/* oklch */ color: oklch(56.8% 0.204 297.2);
Tailwind
colors: {
  custom: {
    50: '#b085e8',
    500: '#8751dd',
    950: '#000000',
  },
}
SCSS
$custom: #8751dd;
$custom-light: #b085e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8751dd",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 263.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.20373,
    "h": 297.2
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#8751DD
secondary
#CBE0AA
accent
#EA3EA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751DD

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

Preview Lab → · Contrast checker → · Palette generator →

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