#8762E7#8762E7

#8762E7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.193 H 292.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8762E7
RGBrgb(135, 98, 231)
HSLhsl(257, 73%, 65%)
HSVhsv(257, 58%, 91%)
CMYKcmyk(41.6%, 57.6%, 0%, 9.4%)
CIE-LABlab(51.44, 45.04, -62.57)
CIE-LCHlch(51.44, 77.09, 305.75°)
OKLaboklab(60.04% 0.0736 -0.1782)
OKLCHoklch(60.04% 0.193 292.4)
XYZxyz(28.7792, 19.6550, 77.8633)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762E7 #C2E762
analogous
#627FE7 #8762E7 #CA62E7
triadic
#8762E7 #E78762 #62E787
tetradic
#8762E7 #E7627F #C2E762 #62E7CA
square
#8762E7 #E7627F #C2E762 #62E7CA
split-complementary
#8762E7 #E7CA62 #7FE762
monochromatic
#461BB3 #5E2DDF #8762E7 #B097EF #D8CCF7

Accessibility & contrast

On white

4.26
#8762E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8762E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762E7#FFFFFF#000000##000000
##8762E71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#067CEB
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#6D7F9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8762e7;
/* rgb */ color: rgb(135, 98, 231);
/* oklch */ color: oklch(60.0% 0.193 292.4);
Tailwind
colors: {
  custom: {
    50: '#b090ef',
    500: '#8762e7',
    950: '#000000',
  },
}
SCSS
$custom: #8762e7;
$custom-light: #b090ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8762e7",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 256.692,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.19278,
    "h": 292.4
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#8762E7
secondary
#DDE9BB
accent
#D6109F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8762E7

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

Preview Lab → · Contrast checker → · Palette generator →

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