#8762BC#8762BC

#8762BC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.3% C 0.138 H 301.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8762BC
RGBrgb(135, 98, 188)
HSLhsl(265, 40%, 56%)
HSVhsv(265, 48%, 74%)
CMYKcmyk(28.2%, 47.9%, 0%, 26.3%)
CIE-LABlab(48.91, 33.76, -42.10)
CIE-LCHlch(48.91, 53.97, 308.73°)
OKLaboklab(57.34% 0.0714 -0.1182)
OKLCHoklch(57.34% 0.138 301.1)
XYZxyz(23.4344, 17.5170, 49.7137)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762BC #97BC62
analogous
#626ABC #8762BC #B462BC
triadic
#8762BC #BC8762 #62BC87
tetradic
#8762BC #BC626A #97BC62 #62BCB4
square
#8762BC #BC626A #97BC62 #62BCB4
split-complementary
#8762BC #BCB462 #6ABC62
monochromatic
#4C3173 #68439E #8762BC #A88DCE #C9B8E1

Accessibility & contrast

On white

4.66
#8762BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8762BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8762BC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762BC#FFFFFF#000000##FFFFFF
##8762BC1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#7D7286
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8762bc;
/* rgb */ color: rgb(135, 98, 188);
/* oklch */ color: oklch(57.3% 0.138 301.1);
Tailwind
colors: {
  custom: {
    50: '#ac8fd0',
    500: '#8762bc',
    950: '#000000',
  },
}
SCSS
$custom: #8762bc;
$custom-light: #ac8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8762bc",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 264.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.13808,
    "h": 301.1
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

primary
#8762BC
secondary
#C0CFAA
accent
#D0589F
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8762BC

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

Preview Lab → · Contrast checker → · Palette generator →

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