#8757D5#8757D5

#8757D5 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.186 H 297.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8757D5
RGBrgb(135, 87, 213)
HSLhsl(263, 60%, 59%)
HSVhsv(263, 59%, 84%)
CMYKcmyk(36.6%, 59.2%, 0%, 16.5%)
CIE-LABlab(47.97, 46.36, -57.97)
CIE-LCHlch(47.97, 74.22, 308.65°)
OKLaboklab(57.12% 0.0867 -0.1647)
OKLCHoklch(57.12% 0.186 297.8)
XYZxyz(25.4071, 16.7710, 64.8364)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757D5 #A5D557
analogous
#5766D5 #8757D5 #C657D5
triadic
#8757D5 #D58757 #57D587
tetradic
#8757D5 #D55766 #A5D557 #57D5C6
square
#8757D5 #D55766 #A5D557 #57D5C6
split-complementary
#8757D5 #D5C657 #66D557
monochromatic
#4C248E #6630BF #8757D5 #AA88E1 #CDB9ED

Accessibility & contrast

On white

4.82
#8757D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8757D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757D5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757D5#FFFFFF#000000##FFFFFF
##8757D51.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0372D9
Deuteranopia (green-blind)
#2670D2
Tritanopia (blue-blind)
#75728E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8757d5;
/* rgb */ color: rgb(135, 87, 213);
/* oklch */ color: oklch(57.1% 0.186 297.8);
Tailwind
colors: {
  custom: {
    50: '#af88e3',
    500: '#8757d5',
    950: '#000000',
  },
}
SCSS
$custom: #8757d5;
$custom-light: #af88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8757d5",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 262.857,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.18611,
    "h": 297.8
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#8757D5
secondary
#CADDAB
accent
#E345A7
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8757D5

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

Preview Lab → · Contrast checker → · Palette generator →

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