#8762E5#8762E5

#8762E5 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.190 H 292.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8762E5
RGBrgb(135, 98, 229)
HSLhsl(257, 72%, 64%)
HSVhsv(257, 57%, 90%)
CMYKcmyk(41%, 57.2%, 0%, 10.2%)
CIE-LABlab(51.32, 44.50, -61.65)
CIE-LCHlch(51.32, 76.03, 305.82°)
OKLaboklab(59.9% 0.0736 -0.1755)
OKLCHoklch(59.9% 0.19 292.8)
XYZxyz(28.4984, 19.5426, 76.3841)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762E5 #C0E562
analogous
#627FE5 #8762E5 #C962E5
triadic
#8762E5 #E58762 #62E587
tetradic
#8762E5 #E5627F #C0E562 #62E5C9
square
#8762E5 #E5627F #C0E562 #62E5C9
split-complementary
#8762E5 #E5C962 #7FE562
monochromatic
#461DB0 #5F2DDC #8762E5 #AF97EE #D7CBF6

Accessibility & contrast

On white

4.28
#8762E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8762E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762E5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762E5#FFFFFF#000000##000000
##8762E51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7CE9
Deuteranopia (green-blind)
#2178E2
Tritanopia (blue-blind)
#6E7E9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8762e5;
/* rgb */ color: rgb(135, 98, 229);
/* oklch */ color: oklch(59.9% 0.190 292.8);
Tailwind
colors: {
  custom: {
    50: '#af90ee',
    500: '#8762e5',
    950: '#000000',
  },
}
SCSS
$custom: #8762e5;
$custom-light: #af90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8762e5",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 256.947,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.19029,
    "h": 292.8
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#8762E5
secondary
#DBE8BB
accent
#D4129D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8762E5

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

Preview Lab → · Contrast checker → · Palette generator →

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