#8762F4#8762F4

#8762F4 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.9% C 0.209 H 290.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8762F4
RGBrgb(135, 98, 244)
HSLhsl(255, 87%, 67%)
HSVhsv(255, 60%, 96%)
CMYKcmyk(44.7%, 59.8%, 0%, 4.3%)
CIE-LABlab(52.31, 48.58, -68.45)
CIE-LCHlch(52.31, 83.94, 305.36°)
OKLaboklab(60.94% 0.0732 -0.1955)
OKLCHoklch(60.94% 0.209 290.5)
XYZxyz(30.6839, 20.4168, 87.8945)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762F4 #CFF462
analogous
#6286F4 #8762F4 #D062F4
triadic
#8762F4 #F48762 #62F487
tetradic
#8762F4 #F46286 #CFF462 #62F4D0
square
#8762F4 #F46286 #CFF462 #62F4D0
split-complementary
#8762F4 #F4D062 #86F462
monochromatic
#3F0ECD #5B29F0 #8762F4 #B39BF8 #DED4FC

Accessibility & contrast

On white

4.13
#8762F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8762F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762F4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762F4#FFFFFF#000000##000000
##8762F41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#6683A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8762f4;
/* rgb */ color: rgb(135, 98, 244);
/* oklch */ color: oklch(60.9% 0.209 290.5);
Tailwind
colors: {
  custom: {
    50: '#b190f9',
    500: '#8762f4',
    950: '#000000',
  },
}
SCSS
$custom: #8762f4;
$custom-light: #b190f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8762f4",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 255.205,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.20875,
    "h": 290.5
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#8762F4
secondary
#E4F0C2
accent
#E302AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8762F4

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

Preview Lab → · Contrast checker → · Palette generator →

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