#8958BC#8958BC

#8958BC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.155 H 304.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8958BC
RGBrgb(137, 88, 188)
HSLhsl(269, 43%, 54%)
HSVhsv(269, 53%, 74%)
CMYKcmyk(27.1%, 53.2%, 0%, 26.3%)
CIE-LABlab(46.88, 40.00, -45.30)
CIE-LCHlch(46.88, 60.44, 311.44°)
OKLaboklab(55.88% 0.0876 -0.1275)
OKLCHoklch(55.88% 0.155 304.5)
XYZxyz(22.8814, 15.9288, 49.4363)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958BC #8BBC58
analogous
#5859BC #8958BC #BB58BC
triadic
#8958BC #BC8958 #58BC89
tetradic
#8958BC #BC5859 #8BBC58 #58BCBB
square
#8958BC #BC5859 #8BBC58 #58BCBB
split-complementary
#8958BC #BCBB58 #59BC58
monochromatic
#4C2C6E #6A3E99 #8958BC #A884CE #C7AFDF

Accessibility & contrast

On white

5.02
#8958BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8958BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958BC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958BC#FFFFFF#000000##FFFFFF
##8958BC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#806A82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8958bc;
/* rgb */ color: rgb(137, 88, 188);
/* oklch */ color: oklch(55.9% 0.155 304.5);
Tailwind
colors: {
  custom: {
    50: '#ae89d1',
    500: '#8958bc',
    950: '#000000',
  },
}
SCSS
$custom: #8958bc;
$custom-light: #ae89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8958bc",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 269.4,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.15467,
    "h": 304.5
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#8958BC
secondary
#B8CDA3
accent
#D35595
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8958BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8958BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva