#8958BF#8958BF

#8958BF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.158 H 303.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8958BF
RGBrgb(137, 88, 191)
HSLhsl(269, 45%, 55%)
HSVhsv(269, 54%, 75%)
CMYKcmyk(28.3%, 53.9%, 0%, 25.1%)
CIE-LABlab(47.05, 40.74, -46.77)
CIE-LCHlch(47.05, 62.02, 311.06°)
OKLaboklab(56.06% 0.0878 -0.1317)
OKLCHoklch(56.06% 0.158 303.7)
XYZxyz(23.2081, 16.0595, 51.1572)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958BF #8EBF58
analogous
#585ABF #8958BF #BD58BF
triadic
#8958BF #BF8958 #58BF89
tetradic
#8958BF #BF585A #8EBF58 #58BFBD
square
#8958BF #BF585A #8EBF58 #58BFBD
split-complementary
#8958BF #BFBD58 #5ABF58
monochromatic
#4D2B71 #6B3C9D #8958BF #A884D0 #C8B0E1

Accessibility & contrast

On white

4.99
#8958BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8958BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958BF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958BF#FFFFFF#000000##FFFFFF
##8958BF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#446FBD
Tritanopia (blue-blind)
#7F6B83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8958bf;
/* rgb */ color: rgb(137, 88, 191);
/* oklch */ color: oklch(56.1% 0.158 303.7);
Tailwind
colors: {
  custom: {
    50: '#ae89d3',
    500: '#8958bf',
    950: '#000000',
  },
}
SCSS
$custom: #8958bf;
$custom-light: #ae89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8958bf",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 268.544,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.15832,
    "h": 303.7
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#8958BF
secondary
#BACFA4
accent
#D45497
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8958BF

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

Preview Lab → · Contrast checker → · Palette generator →

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