#8762FA#8762FA

#8762FA is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.216 H 289.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8762FA
RGBrgb(135, 98, 250)
HSLhsl(255, 94%, 68%)
HSVhsv(255, 61%, 98%)
CMYKcmyk(46%, 60.8%, 0%, 2%)
CIE-LABlab(52.72, 50.23, -71.13)
CIE-LCHlch(52.72, 87.07, 305.23°)
OKLaboklab(61.37% 0.0728 -0.2034)
OKLCHoklch(61.37% 0.216 289.7)
XYZxyz(31.6098, 20.7872, 92.7708)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762FA #D5FA62
analogous
#6289FA #8762FA #D362FA
triadic
#8762FA #FA8762 #62FA87
tetradic
#8762FA #FA6289 #D5FA62 #62FAD3
square
#8762FA #FA6289 #D5FA62 #62FAD3
split-complementary
#8762FA #FAD362 #89FA62
monochromatic
#3A07DB #5A27F8 #8762FA #B49DFC #E2D9FE

Accessibility & contrast

On white

4.07
#8762FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8762FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762FA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762FA#FFFFFF#000000##000000
##8762FA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#6385A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8762fa;
/* rgb */ color: rgb(135, 98, 250);
/* oklch */ color: oklch(61.4% 0.216 289.7);
Tailwind
colors: {
  custom: {
    50: '#b290fd',
    500: '#8762fa',
    950: '#000000',
  },
}
SCSS
$custom: #8762fa;
$custom-light: #b290fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8762fa",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 254.605,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61368,
    "c": 0.21601,
    "h": 289.7
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#8762FA
secondary
#E8F3C5
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120D18
muted
#817D86

Preview Lab

Preview with #8762FA

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

Preview Lab → · Contrast checker → · Palette generator →

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