#8731E9#8731E9

#8731E9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 54.1% C 0.252 H 298.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8731E9
RGBrgb(135, 49, 233)
HSLhsl(268, 81%, 55%)
HSVhsv(268, 79%, 91%)
CMYKcmyk(42.1%, 79%, 0%, 8.6%)
CIE-LABlab(43.11, 68.94, -77.25)
CIE-LCHlch(43.11, 103.54, 311.75°)
OKLaboklab(54.11% 0.1199 -0.2211)
OKLCHoklch(54.11% 0.252 298.5)
XYZxyz(25.7942, 13.2303, 78.2697)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8731E9 #93E931
analogous
#3137E9 #8731E9 #E331E9
triadic
#8731E9 #E98731 #31E987
tetradic
#8731E9 #E93137 #93E931 #31E9E3
square
#8731E9 #E93137 #93E931 #31E9E3
split-complementary
#8731E9 #E9E331 #37E931
monochromatic
#4C0F90 #6915C7 #8731E9 #A768EF #C7A0F5

Accessibility & contrast

On white

5.76
#8731E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8731E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8731E9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8731E9#FFFFFF#000000##FFFFFF
##8731E91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#6E658E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8731e9;
/* rgb */ color: rgb(135, 49, 233);
/* oklch */ color: oklch(54.1% 0.252 298.5);
Tailwind
colors: {
  custom: {
    50: '#b374f1',
    500: '#8731e9',
    950: '#000000',
  },
}
SCSS
$custom: #8731e9;
$custom-light: #b374f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8731e9",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 233
  },
  "hsl": {
    "h": 268.043,
    "s": 80.702,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.25154,
    "h": 298.5
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#8731E9
secondary
#BDE194
accent
#F7319A
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120917
muted
#817B85

Preview Lab

Preview with #8731E9

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

Preview Lab → · Contrast checker → · Palette generator →

#8731E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva