#8758DC#8758DC

#8758DC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.193 H 296.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8758DC
RGBrgb(135, 88, 220)
HSLhsl(261, 65%, 60%)
HSVhsv(261, 60%, 86%)
CMYKcmyk(38.6%, 60%, 0%, 13.7%)
CIE-LABlab(48.63, 47.63, -60.89)
CIE-LCHlch(48.63, 77.30, 308.03°)
OKLaboklab(57.75% 0.0854 -0.1732)
OKLCHoklch(57.75% 0.193 296.2)
XYZxyz(26.3963, 17.2972, 69.6442)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758DC #ADDC58
analogous
#586BDC #8758DC #C958DC
triadic
#8758DC #DC8758 #58DC87
tetradic
#8758DC #DC586B #ADDC58 #58DCC9
square
#8758DC #DC586B #ADDC58 #58DCC9
split-complementary
#8758DC #DCC958 #6BDC58
monochromatic
#4B2099 #642BCC #8758DC #AB8BE7 #D0BDF1

Accessibility & contrast

On white

4.71
#8758DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8758DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8758DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758DC#FFFFFF#000000##FFFFFF
##8758DC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8758dc;
/* rgb */ color: rgb(135, 88, 220);
/* oklch */ color: oklch(57.7% 0.193 296.2);
Tailwind
colors: {
  custom: {
    50: '#af89e8',
    500: '#8758dc',
    950: '#000000',
  },
}
SCSS
$custom: #8758dc;
$custom-light: #af89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8758dc",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 261.364,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.19312,
    "h": 296.2
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#8758DC
secondary
#CFE1AF
accent
#CD188D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8758DC

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

Preview Lab → · Contrast checker → · Palette generator →

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