#8757EC#8757EC

#8757EC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.213 H 293.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8757EC
RGBrgb(135, 87, 236)
HSLhsl(259, 80%, 63%)
HSVhsv(259, 63%, 93%)
CMYKcmyk(42.8%, 63.1%, 0%, 7.5%)
CIE-LABlab(49.52, 52.37, -68.48)
CIE-LCHlch(49.52, 86.21, 307.41°)
OKLaboklab(58.74% 0.0854 -0.1956)
OKLCHoklch(58.74% 0.213 293.6)
XYZxyz(28.5361, 18.0226, 81.3158)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757EC #BCEC57
analogous
#5771EC #8757EC #D157EC
triadic
#8757EC #EC8757 #57EC87
tetradic
#8757EC #EC5771 #BCEC57 #57ECD1
square
#8757EC #EC5771 #BCEC57 #57ECD1
split-complementary
#8757EC #ECD157 #71EC57
monochromatic
#4814B4 #6020E6 #8757EC #AE8EF2 #D6C5F8

Accessibility & contrast

On white

4.56
#8757EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8757EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8757EC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757EC#FFFFFF#000000##000000
##8757EC1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#6B7A9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8757ec;
/* rgb */ color: rgb(135, 87, 236);
/* oklch */ color: oklch(58.7% 0.213 293.6);
Tailwind
colors: {
  custom: {
    50: '#b189f3',
    500: '#8757ec',
    950: '#000000',
  },
}
SCSS
$custom: #8757ec;
$custom-light: #b189f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8757ec",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 259.329,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.2134,
    "h": 293.6
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#8757EC
secondary
#D9EAB5
accent
#DC0A98
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8757EC

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

Preview Lab → · Contrast checker → · Palette generator →

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