#8757DB#8757DB

#8757DB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.193 H 296.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8757DB
RGBrgb(135, 87, 219)
HSLhsl(262, 65%, 60%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(38.4%, 60.3%, 0%, 14.1%)
CIE-LABlab(48.36, 47.91, -60.75)
CIE-LCHlch(48.36, 77.37, 308.26°)
OKLaboklab(57.53% 0.0865 -0.1728)
OKLCHoklch(57.53% 0.193 296.6)
XYZxyz(26.1828, 17.0813, 68.9217)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757DB #ABDB57
analogous
#5769DB #8757DB #C957DB
triadic
#8757DB #DB8757 #57DB87
tetradic
#8757DB #DB5769 #ABDB57 #57DBC9
square
#8757DB #DB5769 #ABDB57 #57DBC9
split-complementary
#8757DB #DBC957 #69DB57
monochromatic
#4C2097 #652BCA #8757DB #AB89E6 #CFBCF1

Accessibility & contrast

On white

4.76
#8757DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8757DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757DB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757DB#FFFFFF#000000##FFFFFF
##8757DB1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#1971D8
Tritanopia (blue-blind)
#737491
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8757db;
/* rgb */ color: rgb(135, 87, 219);
/* oklch */ color: oklch(57.5% 0.193 296.6);
Tailwind
colors: {
  custom: {
    50: '#af88e7',
    500: '#8757db',
    950: '#000000',
  },
}
SCSS
$custom: #8757db;
$custom-light: #af88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8757db",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 261.818,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.1933,
    "h": 296.6
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#8757DB
secondary
#CEE0AD
accent
#E840AB
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8757DB

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

Preview Lab → · Contrast checker → · Palette generator →

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