#8762FB#8762FB

#8762FB is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.4% C 0.217 H 289.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8762FB
RGBrgb(135, 98, 251)
HSLhsl(255, 95%, 68%)
HSVhsv(255, 61%, 98%)
CMYKcmyk(46.2%, 61%, 0%, 1.6%)
CIE-LABlab(52.78, 50.50, -71.57)
CIE-LCHlch(52.78, 87.60, 305.21°)
OKLaboklab(61.44% 0.0728 -0.2047)
OKLCHoklch(61.44% 0.217 289.6)
XYZxyz(31.7670, 20.8501, 93.5988)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762FB #D6FB62
analogous
#6289FB #8762FB #D362FB
triadic
#8762FB #FB8762 #62FB87
tetradic
#8762FB #FB6289 #D6FB62 #62FBD3
square
#8762FB #FB6289 #D6FB62 #62FBD3
split-complementary
#8762FB #FBD362 #89FB62
monochromatic
#3A06DD #5926F9 #8762FB #B59EFD #E2D9FE

Accessibility & contrast

On white

4.06
#8762FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8762FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762FB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762FB#FFFFFF#000000##000000
##8762FB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8762fb;
/* rgb */ color: rgb(135, 98, 251);
/* oklch */ color: oklch(61.4% 0.217 289.6);
Tailwind
colors: {
  custom: {
    50: '#b290fe',
    500: '#8762fb',
    950: '#000000',
  },
}
SCSS
$custom: #8762fb;
$custom-light: #b290fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8762fb",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 254.51,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.21722,
    "h": 289.6
  },
  "luminance": 0.20851
}

Semantic roles & 50–950 ramp

primary
#8762FB
secondary
#E8F3C5
accent
#E600AE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8762FB

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

Preview Lab → · Contrast checker → · Palette generator →

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