#8757EF#8757EF

#8757EF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.217 H 293.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8757EF
RGBrgb(135, 87, 239)
HSLhsl(259, 83%, 64%)
HSVhsv(259, 64%, 94%)
CMYKcmyk(43.5%, 63.6%, 0%, 6.3%)
CIE-LABlab(49.74, 53.17, -69.82)
CIE-LCHlch(49.74, 87.76, 307.29°)
OKLaboklab(58.96% 0.0851 -0.1995)
OKLCHoklch(58.96% 0.217 293.1)
XYZxyz(28.9756, 18.1984, 83.6306)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757EF #BFEF57
analogous
#5773EF #8757EF #D357EF
triadic
#8757EF #EF8757 #57EF87
tetradic
#8757EF #EF5773 #BFEF57 #57EFD3
square
#8757EF #EF5773 #BFEF57 #57EFD3
split-complementary
#8757EF #EFD357 #73EF57
monochromatic
#4712BA #5F1FEA #8757EF #AF8FF4 #D7C7FA

Accessibility & contrast

On white

4.53
#8757EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8757EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8757EF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757EF#FFFFFF#000000##000000
##8757EF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#697B9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8757ef;
/* rgb */ color: rgb(135, 87, 239);
/* oklch */ color: oklch(59.0% 0.217 293.1);
Tailwind
colors: {
  custom: {
    50: '#b189f5',
    500: '#8757ef',
    950: '#000000',
  },
}
SCSS
$custom: #8757ef;
$custom-light: #b189f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8757ef",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 258.947,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.21691,
    "h": 293.1
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#8757EF
secondary
#DBECB6
accent
#DF069B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8757EF

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

Preview Lab → · Contrast checker → · Palette generator →

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