#8762BD#8762BD

#8762BD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.4% C 0.139 H 300.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8762BD
RGBrgb(135, 98, 189)
HSLhsl(264, 41%, 56%)
HSVhsv(264, 48%, 74%)
CMYKcmyk(28.6%, 48.1%, 0%, 25.9%)
CIE-LABlab(48.96, 34.02, -42.59)
CIE-LCHlch(48.96, 54.51, 308.61°)
OKLaboklab(57.39% 0.0715 -0.1196)
OKLCHoklch(57.39% 0.139 300.9)
XYZxyz(23.5426, 17.5603, 50.2834)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762BD #98BD62
analogous
#626BBD #8762BD #B562BD
triadic
#8762BD #BD8762 #62BD87
tetradic
#8762BD #BD626B #98BD62 #62BDB5
square
#8762BD #BD626B #98BD62 #62BDB5
split-complementary
#8762BD #BDB562 #6BBD62
monochromatic
#4C3174 #68439F #8762BD #A88DCF #C9B8E1

Accessibility & contrast

On white

4.65
#8762BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8762BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8762BD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762BD#FFFFFF#000000##FFFFFF
##8762BD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#7D7286
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8762bd;
/* rgb */ color: rgb(135, 98, 189);
/* oklch */ color: oklch(57.4% 0.139 300.9);
Tailwind
colors: {
  custom: {
    50: '#ac8fd1',
    500: '#8762bd',
    950: '#000000',
  },
}
SCSS
$custom: #8762bd;
$custom-light: #ac8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8762bd",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 264.396,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.13938,
    "h": 300.9
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#8762BD
secondary
#C1D0AB
accent
#D1579F
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8762BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8762BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva