#8762FE#8762FE

#8762FE is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.221 H 289.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8762FE
RGBrgb(135, 98, 254)
HSLhsl(254, 99%, 69%)
HSVhsv(254, 61%, 100%)
CMYKcmyk(46.9%, 61.4%, 0%, 0.4%)
CIE-LABlab(52.99, 51.33, -72.90)
CIE-LCHlch(52.99, 89.15, 305.15°)
OKLaboklab(61.66% 0.0726 -0.2086)
OKLCHoklch(61.66% 0.221 289.2)
XYZxyz(32.2436, 21.0407, 96.1091)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762FE #D9FE62
analogous
#628BFE #8762FE #D562FE
triadic
#8762FE #FE8762 #62FE87
tetradic
#8762FE #FE628B #D9FE62 #62FED5
square
#8762FE #FE628B #D9FE62 #62FED5
split-complementary
#8762FE #FED562 #8BFE62
monochromatic
#3701E4 #5925FE #8762FE #B59FFE #E4DCFF

Accessibility & contrast

On white

4.03
#8762FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8762FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762FE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762FE#FFFFFF#000000##000000
##8762FE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#6087A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8762fe;
/* rgb */ color: rgb(135, 98, 254);
/* oklch */ color: oklch(61.7% 0.221 289.2);
Tailwind
colors: {
  custom: {
    50: '#b290ff',
    500: '#8762fe',
    950: '#000000',
  },
}
SCSS
$custom: #8762fe;
$custom-light: #b290ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8762fe",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 254.231,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.22083,
    "h": 289.2
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#8762FE
secondary
#EAF5C7
accent
#E600AF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8762FE

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

Preview Lab → · Contrast checker → · Palette generator →

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