#8958D9#8958D9

#8958D9 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.190 H 297.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8958D9
RGBrgb(137, 88, 217)
HSLhsl(263, 63%, 60%)
HSVhsv(263, 59%, 85%)
CMYKcmyk(36.9%, 59.4%, 0%, 14.9%)
CIE-LABlab(48.64, 47.29, -59.15)
CIE-LCHlch(48.64, 75.73, 308.64°)
OKLaboklab(57.74% 0.0881 -0.1681)
OKLCHoklch(57.74% 0.19 297.7)
XYZxyz(26.3275, 17.3072, 67.5857)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958D9 #A8D958
analogous
#5867D9 #8958D9 #CA58D9
triadic
#8958D9 #D98958 #58D989
tetradic
#8958D9 #D95867 #A8D958 #58D9CA
square
#8958D9 #D95867 #A8D958 #58D9CA
split-complementary
#8958D9 #D9CA58 #67D958
monochromatic
#4D2295 #672DC7 #8958D9 #AC8AE4 #CFBCF0

Accessibility & contrast

On white

4.71
#8958D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8958D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958D9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958D9#FFFFFF#000000##FFFFFF
##8958D91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#2472D6
Tritanopia (blue-blind)
#767490
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8958d9;
/* rgb */ color: rgb(137, 88, 217);
/* oklch */ color: oklch(57.7% 0.190 297.7);
Tailwind
colors: {
  custom: {
    50: '#b089e5',
    500: '#8958d9',
    950: '#000000',
  },
}
SCSS
$custom: #8958d9;
$custom-light: #b089e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8958d9",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 262.791,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.18975,
    "h": 297.7
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#8958D9
secondary
#CCDFAD
accent
#E642A8
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958D9

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

Preview Lab → · Contrast checker → · Palette generator →

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