#8762BF#8762BF

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

Color values

HEX#8762BF
RGBrgb(135, 98, 191)
HSLhsl(264, 42%, 57%)
HSVhsv(264, 49%, 75%)
CMYKcmyk(29.3%, 48.7%, 0%, 25.1%)
CIE-LABlab(49.07, 34.52, -43.58)
CIE-LCHlch(49.07, 55.60, 308.38°)
OKLaboklab(57.51% 0.0718 -0.1225)
OKLCHoklch(57.51% 0.142 300.4)
XYZxyz(23.7611, 17.6477, 51.4346)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762BF #9ABF62
analogous
#626CBF #8762BF #B662BF
triadic
#8762BF #BF8762 #62BF87
tetradic
#8762BF #BF626C #9ABF62 #62BFB6
square
#8762BF #BF626C #9ABF62 #62BFB6
split-complementary
#8762BF #BFB662 #6CBF62
monochromatic
#4C3076 #6842A2 #8762BF #A88DD1 #C9B9E2

Accessibility & contrast

On white

4.64
#8762BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8762BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8762BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762BF#FFFFFF#000000##FFFFFF
##8762BF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#7C7387
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8762bf;
/* rgb */ color: rgb(135, 98, 191);
/* oklch */ color: oklch(57.5% 0.142 300.4);
Tailwind
colors: {
  custom: {
    50: '#ac8fd3',
    500: '#8762bf',
    950: '#000000',
  },
}
SCSS
$custom: #8762bf;
$custom-light: #ac8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8762bf",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 263.871,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57508,
    "c": 0.14197,
    "h": 300.4
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#8762BF
secondary
#C2D1AB
accent
#D256A1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8762BF

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

Preview Lab → · Contrast checker → · Palette generator →

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