#8958D1#8958D1

#8958D1 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.180 H 299.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8958D1
RGBrgb(137, 88, 209)
HSLhsl(264, 57%, 58%)
HSVhsv(264, 58%, 82%)
CMYKcmyk(34.4%, 57.9%, 0%, 18%)
CIE-LABlab(48.14, 45.24, -55.40)
CIE-LCHlch(48.14, 71.53, 309.23°)
OKLaboklab(57.21% 0.0882 -0.1571)
OKLCHoklch(57.21% 0.18 299.3)
XYZxyz(25.3121, 16.9010, 62.2379)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958D1 #A0D158
analogous
#5863D1 #8958D1 #C658D1
triadic
#8958D1 #D18958 #58D189
tetradic
#8958D1 #D15863 #A0D158 #58D1C6
square
#8958D1 #D15863 #A0D158 #58D1C6
split-complementary
#8958D1 #D1C658 #63D158
monochromatic
#4E2689 #6933B9 #8958D1 #AB88DE #CDB8EB

Accessibility & contrast

On white

4.79
#8958D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8958D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958D1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958D1#FFFFFF#000000##FFFFFF
##8958D11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A72D5
Deuteranopia (green-blind)
#3171CE
Tritanopia (blue-blind)
#79718C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8958d1;
/* rgb */ color: rgb(137, 88, 209);
/* oklch */ color: oklch(57.2% 0.180 299.3);
Tailwind
colors: {
  custom: {
    50: '#b089e0',
    500: '#8958d1',
    950: '#000000',
  },
}
SCSS
$custom: #8958d1;
$custom-light: #b089e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8958d1",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 209
  },
  "hsl": {
    "h": 264.298,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.18015,
    "h": 299.3
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#8958D1
secondary
#C7DAAA
accent
#E048A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8958D1

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

Preview Lab → · Contrast checker → · Palette generator →

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