#8731BB#8731BB

#8731BB is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.207 H 309.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8731BB
RGBrgb(135, 49, 187)
HSLhsl(277, 58%, 46%)
HSVhsv(277, 74%, 73%)
CMYKcmyk(27.8%, 73.8%, 0%, 26.7%)
CIE-LABlab(39.47, 58.58, -56.63)
CIE-LCHlch(39.47, 81.48, 315.97°)
OKLaboklab(50.44% 0.1309 -0.1606)
OKLCHoklch(50.44% 0.207 309.2)
XYZxyz(20.0578, 10.9358, 48.0582)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8731BB #65BB31
analogous
#4231BB #8731BB #BB31AA
triadic
#8731BB #BB8731 #31BB87
tetradic
#8731BB #BB4231 #65BB31 #31AABB
square
#8731BB #BB4231 #65BB31 #31AABB
split-complementary
#8731BB #AABB31 #31BB42
monochromatic
#41185A #64248B #8731BB #A456D3 #BE87E0

Accessibility & contrast

On white

6.59
#8731BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8731BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8731BB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8731BB#FFFFFF#000000##FFFFFF
##8731BB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#7F5174
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8731bb;
/* rgb */ color: rgb(135, 49, 187);
/* oklch */ color: oklch(50.4% 0.207 309.2);
Tailwind
colors: {
  custom: {
    50: '#af71d0',
    500: '#8731bb',
    950: '#000000',
  },
}
SCSS
$custom: #8731bb;
$custom-light: #af71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8731bb",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 277.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.20717,
    "h": 309.2
  },
  "luminance": 0.10935
}

Semantic roles & 50–950 ramp

primary
#8731BB
secondary
#9BC97F
accent
#E24681
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8731BB

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

Preview Lab → · Contrast checker → · Palette generator →

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