#8762BB#8762BB

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

Color values

HEX#8762BB
RGBrgb(135, 98, 187)
HSLhsl(265, 40%, 56%)
HSVhsv(265, 48%, 73%)
CMYKcmyk(27.8%, 47.6%, 0%, 26.7%)
CIE-LABlab(48.85, 33.51, -41.61)
CIE-LCHlch(48.85, 53.42, 308.85°)
OKLaboklab(57.28% 0.0713 -0.1167)
OKLCHoklch(57.28% 0.137 301.4)
XYZxyz(23.3270, 17.4741, 49.1480)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762BB #96BB62
analogous
#6269BB #8762BB #B462BB
triadic
#8762BB #BB8762 #62BB87
tetradic
#8762BB #BB6269 #96BB62 #62BBB4
square
#8762BB #BB6269 #96BB62 #62BBB4
split-complementary
#8762BB #BBB462 #69BB62
monochromatic
#4C3171 #68449C #8762BB #A88DCD #C8B7E0

Accessibility & contrast

On white

4.67
#8762BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8762BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8762BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762BB#FFFFFF#000000##FFFFFF
##8762BB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8762bb;
/* rgb */ color: rgb(135, 98, 187);
/* oklch */ color: oklch(57.3% 0.137 301.4);
Tailwind
colors: {
  custom: {
    50: '#ac8fd0',
    500: '#8762bb',
    950: '#000000',
  },
}
SCSS
$custom: #8762bb;
$custom-light: #ac8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8762bb",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 264.944,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.13678,
    "h": 301.4
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8762BB

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

Preview Lab → · Contrast checker → · Palette generator →

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