#8756F2#8756F2

#8756F2 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.222 H 292.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8756F2
RGBrgb(135, 86, 242)
HSLhsl(259, 86%, 64%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(44.2%, 64.5%, 0%, 5.1%)
CIE-LABlab(49.76, 54.49, -71.47)
CIE-LCHlch(49.76, 89.87, 307.32°)
OKLaboklab(59.04% 0.0858 -0.2044)
OKLCHoklch(59.04% 0.222 292.8)
XYZxyz(29.3421, 18.2164, 85.9573)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8756F2 #C1F256
analogous
#5673F2 #8756F2 #D556F2
triadic
#8756F2 #F28756 #56F287
tetradic
#8756F2 #F25673 #C1F256 #56F2D5
square
#8756F2 #F25673 #C1F256 #56F2D5
split-complementary
#8756F2 #F2D556 #73F256
monochromatic
#460FBF #5F1DEE #8756F2 #AF8FF6 #D8C8FB

Accessibility & contrast

On white

4.52
#8756F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8756F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8756F2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8756F2#FFFFFF#000000##000000
##8756F21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#687B9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8756f2;
/* rgb */ color: rgb(135, 86, 242);
/* oklch */ color: oklch(59.0% 0.222 292.8);
Tailwind
colors: {
  custom: {
    50: '#b188f7',
    500: '#8756f2',
    950: '#000000',
  },
}
SCSS
$custom: #8756f2;
$custom-light: #b188f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8756f2",
  "rgb": {
    "r": 135,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 258.846,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.22164,
    "h": 292.8
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#8756F2
secondary
#DCEDB7
accent
#E2039C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8756F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8756F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva