#8731CE#8731CE

#8731CE is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.226 H 304.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8731CE
RGBrgb(135, 49, 206)
HSLhsl(273, 62%, 50%)
HSVhsv(273, 76%, 81%)
CMYKcmyk(34.5%, 76.2%, 0%, 19.2%)
CIE-LABlab(40.90, 62.78, -65.39)
CIE-LCHlch(40.90, 90.65, 313.83°)
OKLaboklab(51.89% 0.127 -0.1863)
OKLCHoklch(51.89% 0.226 304.3)
XYZxyz(22.2280, 11.8038, 59.4879)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8731CE #78CE31
analogous
#3831CE #8731CE #CE31C7
triadic
#8731CE #CE8731 #31CE87
tetradic
#8731CE #CE3831 #78CE31 #31C7CE
square
#8731CE #CE3831 #78CE31 #31C7CE
split-complementary
#8731CE #C7CE31 #31CE38
monochromatic
#46196B #67259D #8731CE #A462DA #C194E6

Accessibility & contrast

On white

6.25
#8731CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8731CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8731CE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8731CE#FFFFFF#000000##FFFFFF
##8731CE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#79597E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8731ce;
/* rgb */ color: rgb(135, 49, 206);
/* oklch */ color: oklch(51.9% 0.226 304.3);
Tailwind
colors: {
  custom: {
    50: '#b072de',
    500: '#8731ce',
    950: '#000000',
  },
}
SCSS
$custom: #8731ce;
$custom-light: #b072de;
$custom-dark: #000000;
JSON
{
  "hex": "#8731ce",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 272.866,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.22551,
    "h": 304.3
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#8731CE
secondary
#AAD18A
accent
#E5438C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8731CE

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

Preview Lab → · Contrast checker → · Palette generator →

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