#8757E4#8757E4

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

Color values

HEX#8757E4
RGBrgb(135, 87, 228)
HSLhsl(260, 72%, 62%)
HSVhsv(260, 62%, 89%)
CMYKcmyk(40.8%, 61.8%, 0%, 10.6%)
CIE-LABlab(48.97, 50.26, -64.88)
CIE-LCHlch(48.97, 82.07, 307.77°)
OKLaboklab(58.16% 0.086 -0.185)
OKLCHoklch(58.16% 0.204 294.9)
XYZxyz(27.3997, 17.5681, 75.3311)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757E4 #B4E457
analogous
#576DE4 #8757E4 #CE57E4
triadic
#8757E4 #E48757 #57E487
tetradic
#8757E4 #E4576D #B4E457 #57E4CE
square
#8757E4 #E4576D #B4E457 #57E4CE
split-complementary
#8757E4 #E4CE57 #6DE457
monochromatic
#4A1BA6 #6223DB #8757E4 #AD8CEC #D2C0F5

Accessibility & contrast

On white

4.65
#8757E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8757E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8757E4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757E4#FFFFFF#000000##FFFFFF
##8757E41.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#6F7796
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8757e4;
/* rgb */ color: rgb(135, 87, 228);
/* oklch */ color: oklch(58.2% 0.204 294.9);
Tailwind
colors: {
  custom: {
    50: '#b089ed',
    500: '#8757e4',
    950: '#000000',
  },
}
SCSS
$custom: #8757e4;
$custom-light: #b089ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8757e4",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 260.426,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.204,
    "h": 294.9
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#8757E4
secondary
#D4E6B1
accent
#D41192
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8757E4

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

Preview Lab → · Contrast checker → · Palette generator →

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