#8762BE#8762BE

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

Color values

HEX#8762BE
RGBrgb(135, 98, 190)
HSLhsl(264, 41%, 56%)
HSVhsv(264, 48%, 75%)
CMYKcmyk(28.9%, 48.4%, 0%, 25.5%)
CIE-LABlab(49.01, 34.27, -43.09)
CIE-LCHlch(49.01, 55.05, 308.50°)
OKLaboklab(57.45% 0.0716 -0.1211)
OKLCHoklch(57.45% 0.141 300.6)
XYZxyz(23.6515, 17.6039, 50.8571)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762BE #99BE62
analogous
#626BBE #8762BE #B562BE
triadic
#8762BE #BE8762 #62BE87
tetradic
#8762BE #BE626B #99BE62 #62BEB5
square
#8762BE #BE626B #99BE62 #62BEB5
split-complementary
#8762BE #BEB562 #6BBE62
monochromatic
#4C3075 #6842A0 #8762BE #A88DD0 #C9B9E2

Accessibility & contrast

On white

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

On black

4.52
#8762BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8762BE#FFFFFF#000000##FFFFFF
##8762BE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#7C7387
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8762be;
/* rgb */ color: rgb(135, 98, 190);
/* oklch */ color: oklch(57.5% 0.141 300.6);
Tailwind
colors: {
  custom: {
    50: '#ac8fd2',
    500: '#8762be',
    950: '#000000',
  },
}
SCSS
$custom: #8762be;
$custom-light: #ac8fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8762be",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 264.13,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.14067,
    "h": 300.6
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#8762BE
secondary
#C2D1AB
accent
#D157A0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8762BE

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

Preview Lab → · Contrast checker → · Palette generator →

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