#8751E6#8751E6

#8751E6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.214 H 295.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8751E6
RGBrgb(135, 81, 230)
HSLhsl(262, 75%, 61%)
HSVhsv(262, 65%, 90%)
CMYKcmyk(41.3%, 64.8%, 0%, 9.8%)
CIE-LABlab(47.94, 53.94, -67.67)
CIE-LCHlch(47.94, 86.54, 308.56°)
OKLaboklab(57.46% 0.0923 -0.1932)
OKLCHoklch(57.46% 0.214 295.5)
XYZxyz(27.2133, 16.7483, 76.6465)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751E6 #B0E651
analogous
#5165E6 #8751E6 #D151E6
triadic
#8751E6 #E68751 #51E687
tetradic
#8751E6 #E65165 #B0E651 #51E6D1
square
#8751E6 #E65165 #B0E651 #51E6D1
split-complementary
#8751E6 #E6D151 #65E651
monochromatic
#4B18A5 #631FDA #8751E6 #AC87EE #D1BCF5

Accessibility & contrast

On white

4.83
#8751E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8751E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751E6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751E6#FFFFFF#000000##FFFFFF
##8751E61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#6E7495
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8751e6;
/* rgb */ color: rgb(135, 81, 230);
/* oklch */ color: oklch(57.5% 0.214 295.5);
Tailwind
colors: {
  custom: {
    50: '#b185ef',
    500: '#8751e6',
    950: '#000000',
  },
}
SCSS
$custom: #8751e6;
$custom-light: #b185ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8751e6",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 261.745,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.21408,
    "h": 295.5
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#8751E6
secondary
#D1E5AD
accent
#D70E8E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8751E6

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

Preview Lab → · Contrast checker → · Palette generator →

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