#8958D6#8958D6

#8958D6 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.186 H 298.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8958D6
RGBrgb(137, 88, 214)
HSLhsl(263, 61%, 59%)
HSVhsv(263, 59%, 84%)
CMYKcmyk(36%, 58.9%, 0%, 16.1%)
CIE-LABlab(48.45, 46.52, -57.75)
CIE-LCHlch(48.45, 74.16, 308.85°)
OKLaboklab(57.54% 0.0882 -0.164)
OKLCHoklch(57.54% 0.186 298.3)
XYZxyz(25.9408, 17.1525, 65.5494)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958D6 #A5D658
analogous
#5866D6 #8958D6 #C858D6
triadic
#8958D6 #D68958 #58D689
tetradic
#8958D6 #D65866 #A5D658 #58D6C8
square
#8958D6 #D65866 #A5D658 #58D6C8
split-complementary
#8958D6 #D6C858 #66D658
monochromatic
#4E2390 #682FC1 #8958D6 #AC89E2 #CEBAEE

Accessibility & contrast

On white

4.74
#8958D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8958D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958D6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958D6#FFFFFF#000000##FFFFFF
##8958D61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A73DA
Deuteranopia (green-blind)
#2972D3
Tritanopia (blue-blind)
#78738F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8958d6;
/* rgb */ color: rgb(137, 88, 214);
/* oklch */ color: oklch(57.5% 0.186 298.3);
Tailwind
colors: {
  custom: {
    50: '#b089e3',
    500: '#8958d6',
    950: '#000000',
  },
}
SCSS
$custom: #8958d6;
$custom-light: #b089e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8958d6",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 214
  },
  "hsl": {
    "h": 263.333,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.18616,
    "h": 298.3
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#8958D6
secondary
#CADEAC
accent
#E444A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8958D6

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

Preview Lab → · Contrast checker → · Palette generator →

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