#8757EB#8757EB

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

Color values

HEX#8757EB
RGBrgb(135, 87, 235)
HSLhsl(259, 79%, 63%)
HSVhsv(259, 63%, 92%)
CMYKcmyk(42.6%, 63%, 0%, 7.8%)
CIE-LABlab(49.45, 52.11, -68.03)
CIE-LCHlch(49.45, 85.70, 307.45°)
OKLaboklab(58.67% 0.0855 -0.1943)
OKLCHoklch(58.67% 0.212 293.7)
XYZxyz(28.3912, 17.9647, 80.5528)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757EB #BBEB57
analogous
#5771EB #8757EB #D157EB
triadic
#8757EB #EB8757 #57EB87
tetradic
#8757EB #EB5771 #BBEB57 #57EBD1
square
#8757EB #EB5771 #BBEB57 #57EBD1
split-complementary
#8757EB #EBD157 #71EB57
monochromatic
#4815B2 #6020E4 #8757EB #AE8EF2 #D5C4F8

Accessibility & contrast

On white

4.57
#8757EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8757EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8757EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757EB#FFFFFF#000000##000000
##8757EB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#6B7999
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8757eb;
/* rgb */ color: rgb(135, 87, 235);
/* oklch */ color: oklch(58.7% 0.212 293.7);
Tailwind
colors: {
  custom: {
    50: '#b189f2',
    500: '#8757eb',
    950: '#000000',
  },
}
SCSS
$custom: #8757eb;
$custom-light: #b189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8757eb",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 259.459,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.21223,
    "h": 293.7
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#8757EB
secondary
#D8E9B4
accent
#DB0A97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8757EB

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

Preview Lab → · Contrast checker → · Palette generator →

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