#8958BB#8958BB

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

Color values

HEX#8958BB
RGBrgb(137, 88, 187)
HSLhsl(270, 42%, 54%)
HSVhsv(270, 53%, 73%)
CMYKcmyk(26.7%, 52.9%, 0%, 26.7%)
CIE-LABlab(46.82, 39.76, -44.81)
CIE-LCHlch(46.82, 59.91, 311.58°)
OKLaboklab(55.82% 0.0875 -0.126)
OKLCHoklch(55.82% 0.153 304.8)
XYZxyz(22.7740, 15.8858, 48.8706)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958BB #8ABB58
analogous
#5859BB #8958BB #BB58BB
triadic
#8958BB #BB8958 #58BB89
tetradic
#8958BB #BB5859 #8ABB58 #58BBBB
square
#8958BB #BB5859 #8ABB58 #58BBBB
split-complementary
#8958BB #BBBB58 #59BB58
monochromatic
#4C2C6C #6A3E98 #8958BB #A883CD #C6AFDE

Accessibility & contrast

On white

5.03
#8958BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8958BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958BB#FFFFFF#000000##FFFFFF
##8958BB1.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)
#386EBE
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#816A81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8958bb;
/* rgb */ color: rgb(137, 88, 187);
/* oklch */ color: oklch(55.8% 0.153 304.8);
Tailwind
colors: {
  custom: {
    50: '#ae89d0',
    500: '#8958bb',
    950: '#000000',
  },
}
SCSS
$custom: #8958bb;
$custom-light: #ae89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8958bb",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 269.697,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.15344,
    "h": 304.8
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#8958BB
secondary
#B8CDA2
accent
#D25695
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8958BB

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

Preview Lab → · Contrast checker → · Palette generator →

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