#8757EA#8757EA

#8757EA is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.211 H 293.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8757EA
RGBrgb(135, 87, 234)
HSLhsl(260, 78%, 63%)
HSVhsv(260, 63%, 92%)
CMYKcmyk(42.3%, 62.8%, 0%, 8.2%)
CIE-LABlab(49.38, 51.84, -67.59)
CIE-LCHlch(49.38, 85.18, 307.49°)
OKLaboklab(58.6% 0.0856 -0.1929)
OKLCHoklch(58.6% 0.211 293.9)
XYZxyz(28.2471, 17.9071, 79.7941)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757EA #BAEA57
analogous
#5770EA #8757EA #D157EA
triadic
#8757EA #EA8757 #57EA87
tetradic
#8757EA #EA5770 #BAEA57 #57EAD1
square
#8757EA #EA5770 #BAEA57 #57EAD1
split-complementary
#8757EA #EAD157 #70EA57
monochromatic
#4916B1 #6021E3 #8757EA #AE8DF1 #D5C4F8

Accessibility & contrast

On white

4.58
#8757EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8757EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8757EA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757EA#FFFFFF#000000##000000
##8757EA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#6C7999
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8757ea;
/* rgb */ color: rgb(135, 87, 234);
/* oklch */ color: oklch(58.6% 0.211 293.9);
Tailwind
colors: {
  custom: {
    50: '#b189f2',
    500: '#8757ea',
    950: '#000000',
  },
}
SCSS
$custom: #8757ea;
$custom-light: #b189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8757ea",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 259.592,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.21106,
    "h": 293.9
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8757EA

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

Preview Lab → · Contrast checker → · Palette generator →

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