#8958D7#8958D7

#8958D7 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.187 H 298.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8958D7
RGBrgb(137, 88, 215)
HSLhsl(263, 61%, 59%)
HSVhsv(263, 59%, 84%)
CMYKcmyk(36.3%, 59.1%, 0%, 15.7%)
CIE-LABlab(48.52, 46.78, -58.22)
CIE-LCHlch(48.52, 74.68, 308.78°)
OKLaboklab(57.61% 0.0881 -0.1653)
OKLCHoklch(57.61% 0.187 298.1)
XYZxyz(26.0689, 17.2038, 66.2240)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958D7 #A6D758
analogous
#5866D7 #8958D7 #C958D7
triadic
#8958D7 #D78958 #58D789
tetradic
#8958D7 #D75866 #A6D758 #58D7C9
square
#8958D7 #D75866 #A6D758 #58D7C9
split-complementary
#8958D7 #D7C958 #66D758
monochromatic
#4E2392 #682FC3 #8958D7 #AC89E3 #CFBBEF

Accessibility & contrast

On white

4.73
#8958D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8958D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958D7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958D7#FFFFFF#000000##FFFFFF
##8958D71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0573DB
Deuteranopia (green-blind)
#2872D4
Tritanopia (blue-blind)
#77738F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8958d7;
/* rgb */ color: rgb(137, 88, 215);
/* oklch */ color: oklch(57.6% 0.187 298.1);
Tailwind
colors: {
  custom: {
    50: '#b089e4',
    500: '#8958d7',
    950: '#000000',
  },
}
SCSS
$custom: #8958d7;
$custom-light: #b089e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8958d7",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 263.15,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.18736,
    "h": 298.1
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#8958D7
secondary
#CBDEAD
accent
#E443A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958D7

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

Preview Lab → · Contrast checker → · Palette generator →

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