#8762B3#8762B3

#8762B3 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.126 H 303.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8762B3
RGBrgb(135, 98, 179)
HSLhsl(267, 35%, 54%)
HSVhsv(267, 45%, 70%)
CMYKcmyk(24.6%, 45.3%, 0%, 29.8%)
CIE-LABlab(48.44, 31.53, -37.61)
CIE-LCHlch(48.44, 49.08, 309.97°)
OKLaboklab(56.83% 0.0702 -0.1051)
OKLCHoklch(56.83% 0.126 303.7)
XYZxyz(22.4943, 17.1410, 44.7626)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762B3 #8EB362
analogous
#6266B3 #8762B3 #AF62B3
triadic
#8762B3 #B38762 #62B387
tetradic
#8762B3 #B36266 #8EB362 #62B3AF
square
#8762B3 #B36266 #8EB362 #62B3AF
split-complementary
#8762B3 #B3AF62 #66B362
monochromatic
#4B3268 #694691 #8762B3 #A78BC7 #C6B4DB

Accessibility & contrast

On white

4.74
#8762B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8762B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8762B3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762B3#FFFFFF#000000##FFFFFF
##8762B31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#807082
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8762b3;
/* rgb */ color: rgb(135, 98, 179);
/* oklch */ color: oklch(56.8% 0.126 303.7);
Tailwind
colors: {
  custom: {
    50: '#ac8fca',
    500: '#8762b3',
    950: '#000000',
  },
}
SCSS
$custom: #8762b3;
$custom-light: #ac8fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8762b3",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 267.407,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.12638,
    "h": 303.7
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#8762B3
secondary
#BACAA7
accent
#CB5D99
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8762B3

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

Preview Lab → · Contrast checker → · Palette generator →

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