#8762DF#8762DF

#8762DF is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.183 H 293.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8762DF
RGBrgb(135, 98, 223)
HSLhsl(258, 66%, 63%)
HSVhsv(258, 56%, 87%)
CMYKcmyk(39.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(50.94, 42.88, -58.87)
CIE-LCHlch(50.94, 72.84, 306.07°)
OKLaboklab(59.5% 0.0736 -0.1673)
OKLCHoklch(59.5% 0.183 293.7)
XYZxyz(27.6751, 19.2133, 72.0481)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762DF #BADF62
analogous
#627BDF #8762DF #C562DF
triadic
#8762DF #DF8762 #62DF87
tetradic
#8762DF #DF627B #BADF62 #62DFC5
square
#8762DF #DF627B #BADF62 #62DFC5
split-complementary
#8762DF #DFC562 #7BDF62
monochromatic
#4922A5 #602FD5 #8762DF #AE95E9 #D5C8F4

Accessibility & contrast

On white

4.34
#8762DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8762DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762DF#FFFFFF#000000##000000
##8762DF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#707D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8762df;
/* rgb */ color: rgb(135, 98, 223);
/* oklch */ color: oklch(59.5% 0.183 293.7);
Tailwind
colors: {
  custom: {
    50: '#af90ea',
    500: '#8762df',
    950: '#000000',
  },
}
SCSS
$custom: #8762df;
$custom-light: #af90ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8762df",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 257.76,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.18281,
    "h": 293.7
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#8762DF
secondary
#D8E5B8
accent
#CE1798
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8762DF

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

Preview Lab → · Contrast checker → · Palette generator →

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