#8758BF#8758BF

#8758BF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.158 H 302.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8758BF
RGBrgb(135, 88, 191)
HSLhsl(267, 45%, 55%)
HSVhsv(267, 54%, 75%)
CMYKcmyk(29.3%, 53.9%, 0%, 25.1%)
CIE-LABlab(46.83, 40.22, -47.13)
CIE-LCHlch(46.83, 61.96, 310.47°)
OKLaboklab(55.85% 0.0852 -0.1329)
OKLCHoklch(55.85% 0.158 302.7)
XYZxyz(22.8832, 15.8919, 51.1420)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758BF #90BF58
analogous
#585CBF #8758BF #BB58BF
triadic
#8758BF #BF8758 #58BF87
tetradic
#8758BF #BF585C #90BF58 #58BFBB
square
#8758BF #BF585C #90BF58 #58BFBB
split-complementary
#8758BF #BFBB58 #5CBF58
monochromatic
#4B2B71 #693C9D #8758BF #A784D0 #C7B0E1

Accessibility & contrast

On white

5.03
#8758BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8758BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8758BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758BF#FFFFFF#000000##FFFFFF
##8758BF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#7D6C83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8758bf;
/* rgb */ color: rgb(135, 88, 191);
/* oklch */ color: oklch(55.8% 0.158 302.7);
Tailwind
colors: {
  custom: {
    50: '#ad89d3',
    500: '#8758bf',
    950: '#000000',
  },
}
SCSS
$custom: #8758bf;
$custom-light: #ad89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8758bf",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 267.379,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.15785,
    "h": 302.7
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#8758BF
secondary
#BBCFA4
accent
#D4549A
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8758BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8758BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva