#8958D8#8958D8

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

Color values

HEX#8958D8
RGBrgb(137, 88, 216)
HSLhsl(263, 62%, 60%)
HSVhsv(263, 59%, 85%)
CMYKcmyk(36.6%, 59.3%, 0%, 15.3%)
CIE-LABlab(48.58, 47.03, -58.68)
CIE-LCHlch(48.58, 75.21, 308.71°)
OKLaboklab(57.67% 0.0881 -0.1667)
OKLCHoklch(57.67% 0.189 297.9)
XYZxyz(26.1978, 17.2553, 66.9028)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958D8 #A7D858
analogous
#5867D8 #8958D8 #C958D8
triadic
#8958D8 #D88958 #58D889
tetradic
#8958D8 #D85867 #A7D858 #58D8C9
square
#8958D8 #D85867 #A7D858 #58D8C9
split-complementary
#8958D8 #D8C958 #67D858
monochromatic
#4E2293 #682EC5 #8958D8 #AC8AE4 #CFBBEF

Accessibility & contrast

On white

4.72
#8958D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8958D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958D8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958D8#FFFFFF#000000##FFFFFF
##8958D81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DC
Deuteranopia (green-blind)
#2672D5
Tritanopia (blue-blind)
#777390
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8958d8;
/* rgb */ color: rgb(137, 88, 216);
/* oklch */ color: oklch(57.7% 0.189 297.9);
Tailwind
colors: {
  custom: {
    50: '#b089e5',
    500: '#8958d8',
    950: '#000000',
  },
}
SCSS
$custom: #8958d8;
$custom-light: #b089e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8958d8",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 262.969,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.18856,
    "h": 297.9
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8958D8

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

Preview Lab → · Contrast checker → · Palette generator →

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