#8762FD#8762FD

#8762FD is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.6% C 0.220 H 289.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8762FD
RGBrgb(135, 98, 253)
HSLhsl(254, 97%, 69%)
HSVhsv(254, 61%, 99%)
CMYKcmyk(46.6%, 61.3%, 0%, 0.8%)
CIE-LABlab(52.92, 51.05, -72.46)
CIE-LCHlch(52.92, 88.63, 305.17°)
OKLaboklab(61.59% 0.0727 -0.2073)
OKLCHoklch(61.59% 0.22 289.3)
XYZxyz(32.0839, 20.9768, 95.2679)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762FD #D8FD62
analogous
#628BFD #8762FD #D562FD
triadic
#8762FD #FD8762 #62FD87
tetradic
#8762FD #FD628B #D8FD62 #62FDD5
square
#8762FD #FD628B #D8FD62 #62FDD5
split-complementary
#8762FD #FDD562 #8BFD62
monochromatic
#3803E2 #5926FC #8762FD #B59EFE #E3DBFF

Accessibility & contrast

On white

4.04
#8762FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8762FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762FD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762FD#FFFFFF#000000##000000
##8762FD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#6186A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8762fd;
/* rgb */ color: rgb(135, 98, 253);
/* oklch */ color: oklch(61.6% 0.220 289.3);
Tailwind
colors: {
  custom: {
    50: '#b290ff',
    500: '#8762fd',
    950: '#000000',
  },
}
SCSS
$custom: #8762fd;
$custom-light: #b290ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8762fd",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 254.323,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.21962,
    "h": 289.3
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8762FD

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

Preview Lab → · Contrast checker → · Palette generator →

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