#8757DC#8757DC

#8757DC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.195 H 296.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8757DC
RGBrgb(135, 87, 220)
HSLhsl(262, 66%, 60%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(38.6%, 60.5%, 0%, 13.7%)
CIE-LABlab(48.43, 48.17, -61.22)
CIE-LCHlch(48.43, 77.90, 308.20°)
OKLaboklab(57.6% 0.0865 -0.1742)
OKLCHoklch(57.6% 0.195 296.4)
XYZxyz(26.3148, 17.1341, 69.6171)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757DC #ACDC57
analogous
#576ADC #8757DC #C957DC
triadic
#8757DC #DC8757 #57DC87
tetradic
#8757DC #DC576A #ACDC57 #57DCC9
square
#8757DC #DC576A #ACDC57 #57DCC9
split-complementary
#8757DC #DCC957 #6ADC57
monochromatic
#4B2099 #642ACB #8757DC #AB8AE7 #CFBCF1

Accessibility & contrast

On white

4.74
#8757DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8757DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757DC#FFFFFF#000000##FFFFFF
##8757DC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#1671D9
Tritanopia (blue-blind)
#727491
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8757dc;
/* rgb */ color: rgb(135, 87, 220);
/* oklch */ color: oklch(57.6% 0.195 296.4);
Tailwind
colors: {
  custom: {
    50: '#af88e8',
    500: '#8757dc',
    950: '#000000',
  },
}
SCSS
$custom: #8757dc;
$custom-light: #af88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8757dc",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 261.654,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.1945,
    "h": 296.4
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#8757DC
secondary
#CEE1AE
accent
#CD188C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8757DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8757DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva