#8958D3#8958D3

#8958D3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.183 H 298.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8958D3
RGBrgb(137, 88, 211)
HSLhsl(264, 58%, 59%)
HSVhsv(264, 58%, 83%)
CMYKcmyk(35.1%, 58.3%, 0%, 17.3%)
CIE-LABlab(48.26, 45.75, -56.35)
CIE-LCHlch(48.26, 72.58, 309.08°)
OKLaboklab(57.34% 0.0882 -0.1598)
OKLCHoklch(57.34% 0.183 298.9)
XYZxyz(25.5612, 17.0007, 63.5502)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958D3 #A2D358
analogous
#5864D3 #8958D3 #C658D3
triadic
#8958D3 #D38958 #58D389
tetradic
#8958D3 #D35864 #A2D358 #58D3C6
square
#8958D3 #D35864 #A2D358 #58D3C6
split-complementary
#8958D3 #D3C658 #64D358
monochromatic
#4E258C #6932BC #8958D3 #AB88E0 #CDB9ED

Accessibility & contrast

On white

4.77
#8958D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8958D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958D3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958D3#FFFFFF#000000##FFFFFF
##8958D31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1573D7
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#79728D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8958d3;
/* rgb */ color: rgb(137, 88, 211);
/* oklch */ color: oklch(57.3% 0.183 298.9);
Tailwind
colors: {
  custom: {
    50: '#b089e1',
    500: '#8958d3',
    950: '#000000',
  },
}
SCSS
$custom: #8958d3;
$custom-light: #b089e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8958d3",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 263.902,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.18256,
    "h": 298.9
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#8958D3
secondary
#C8DCAB
accent
#E246A4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8958D3

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

Preview Lab → · Contrast checker → · Palette generator →

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