#8762CF#8762CF

#8762CF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.163 H 296.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8762CF
RGBrgb(135, 98, 207)
HSLhsl(260, 53%, 60%)
HSVhsv(260, 53%, 81%)
CMYKcmyk(34.8%, 52.7%, 0%, 18.8%)
CIE-LABlab(49.97, 38.64, -51.34)
CIE-LCHlch(49.97, 64.25, 306.97°)
OKLaboklab(58.47% 0.0731 -0.1452)
OKLCHoklch(58.47% 0.163 296.7)
XYZxyz(25.6190, 18.3909, 61.2194)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762CF #AACF62
analogous
#6274CF #8762CF #BE62CF
triadic
#8762CF #CF8762 #62CF87
tetradic
#8762CF #CF6274 #AACF62 #62CFBE
square
#8762CF #CF6274 #AACF62 #62CFBE
split-complementary
#8762CF #CFBE62 #74CF62
monochromatic
#4C2B8C #6539BB #8762CF #AB91DD #CFC0EC

Accessibility & contrast

On white

4.49
#8762CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8762CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762CF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762CF#FFFFFF#000000##000000
##8762CF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#4076CC
Tritanopia (blue-blind)
#77788F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8762cf;
/* rgb */ color: rgb(135, 98, 207);
/* oklch */ color: oklch(58.5% 0.163 296.7);
Tailwind
colors: {
  custom: {
    50: '#ae8fde',
    500: '#8762cf',
    950: '#000000',
  },
}
SCSS
$custom: #8762cf;
$custom-light: #ae8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8762cf",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 260.367,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.16256,
    "h": 296.7
  },
  "luminance": 0.18391
}

Semantic roles & 50–950 ramp

primary
#8762CF
secondary
#CDDBB1
accent
#DD4BAB
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8762CF

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

Preview Lab → · Contrast checker → · Palette generator →

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