#8757E5#8757E5

#8757E5 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.205 H 294.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8757E5
RGBrgb(135, 87, 229)
HSLhsl(260, 73%, 62%)
HSVhsv(260, 62%, 90%)
CMYKcmyk(41%, 62%, 0%, 10.2%)
CIE-LABlab(49.04, 50.53, -65.33)
CIE-LCHlch(49.04, 82.59, 307.72°)
OKLaboklab(58.23% 0.086 -0.1863)
OKLCHoklch(58.23% 0.205 294.8)
XYZxyz(27.5390, 17.6238, 76.0643)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757E5 #B5E557
analogous
#576EE5 #8757E5 #CE57E5
triadic
#8757E5 #E58757 #57E587
tetradic
#8757E5 #E5576E #B5E557 #57E5CE
square
#8757E5 #E5576E #B5E557 #57E5CE
split-complementary
#8757E5 #E5CE57 #6EE557
monochromatic
#4A1AA8 #6122DD #8757E5 #AD8CED #D3C1F5

Accessibility & contrast

On white

4.64
#8757E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8757E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8757E5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757E5#FFFFFF#000000##FFFFFF
##8757E51.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#6E7796
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8757e5;
/* rgb */ color: rgb(135, 87, 229);
/* oklch */ color: oklch(58.2% 0.205 294.8);
Tailwind
colors: {
  custom: {
    50: '#b089ee',
    500: '#8757e5',
    950: '#000000',
  },
}
SCSS
$custom: #8757e5;
$custom-light: #b089ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8757e5",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 260.282,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.20518,
    "h": 294.8
  },
  "luminance": 0.17624
}

Semantic roles & 50–950 ramp

primary
#8757E5
secondary
#D4E6B2
accent
#D51093
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8757E5

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

Preview Lab → · Contrast checker → · Palette generator →

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