#8758CD#8758CD

#8758CD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.175 H 299.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8758CD
RGBrgb(135, 88, 205)
HSLhsl(264, 54%, 57%)
HSVhsv(264, 57%, 80%)
CMYKcmyk(34.1%, 57.1%, 0%, 19.6%)
CIE-LABlab(47.67, 43.75, -53.87)
CIE-LCHlch(47.67, 69.40, 309.08°)
OKLaboklab(56.74% 0.0856 -0.1526)
OKLCHoklch(56.74% 0.175 299.3)
XYZxyz(24.4982, 16.5379, 59.6472)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758CD #9ECD58
analogous
#5863CD #8758CD #C258CD
triadic
#8758CD #CD8758 #58CD87
tetradic
#8758CD #CD5863 #9ECD58 #58CDC2
square
#8758CD #CD5863 #9ECD58 #58CDC2
split-complementary
#8758CD #CDC258 #63CD58
monochromatic
#4C2783 #6835B2 #8758CD #A987DB #CBB6E9

Accessibility & contrast

On white

4.88
#8758CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8758CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8758CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758CD#FFFFFF#000000##FFFFFF
##8758CD1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#78708A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8758cd;
/* rgb */ color: rgb(135, 88, 205);
/* oklch */ color: oklch(56.7% 0.175 299.3);
Tailwind
colors: {
  custom: {
    50: '#ae89dd',
    500: '#8758cd',
    950: '#000000',
  },
}
SCSS
$custom: #8758cd;
$custom-light: #ae89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8758cd",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 264.103,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.175,
    "h": 299.3
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#8758CD
secondary
#C5D8A9
accent
#DD4BA2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8758CD

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

Preview Lab → · Contrast checker → · Palette generator →

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