#8758B2#8758B2

#8758B2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.1% C 0.142 H 306.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8758B2
RGBrgb(135, 88, 178)
HSLhsl(271, 37%, 52%)
HSVhsv(271, 51%, 70%)
CMYKcmyk(24.2%, 50.6%, 0%, 30.2%)
CIE-LABlab(46.10, 37.04, -40.72)
CIE-LCHlch(46.10, 55.05, 312.29°)
OKLaboklab(55.07% 0.0842 -0.1141)
OKLCHoklch(55.07% 0.142 306.4)
XYZxyz(21.5156, 15.3449, 43.9392)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8758B2 #83B258
analogous
#5A58B2 #8758B2 #B258B0
triadic
#8758B2 #B28758 #58B287
tetradic
#8758B2 #B25A58 #83B258 #58B0B2
square
#8758B2 #B25A58 #83B258 #58B0B2
split-complementary
#8758B2 #B0B258 #58B25A
monochromatic
#492D62 #68418C #8758B2 #A582C5 #C3ACD9

Accessibility & contrast

On white

5.16
#8758B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8758B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8758B2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8758B2#FFFFFF#000000##FFFFFF
##8758B21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB5
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#80687D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8758b2;
/* rgb */ color: rgb(135, 88, 178);
/* oklch */ color: oklch(55.1% 0.142 306.4);
Tailwind
colors: {
  custom: {
    50: '#ac88c9',
    500: '#8758b2',
    950: '#000000',
  },
}
SCSS
$custom: #8758b2;
$custom-light: #ac88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8758b2",
  "rgb": {
    "r": 135,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 271.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.14183,
    "h": 306.4
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#8758B2
secondary
#B2C79F
accent
#CD5B91
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8758B2

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

Preview Lab → · Contrast checker → · Palette generator →

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