#8958E5#8958E5

#8958E5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.204 H 295.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8958E5
RGBrgb(137, 88, 229)
HSLhsl(261, 73%, 62%)
HSVhsv(261, 62%, 90%)
CMYKcmyk(40.2%, 61.6%, 0%, 10.2%)
CIE-LABlab(49.44, 50.40, -64.67)
CIE-LCHlch(49.44, 81.99, 307.94°)
OKLaboklab(58.58% 0.0875 -0.1843)
OKLCHoklch(58.58% 0.204 295.4)
XYZxyz(27.9454, 17.9544, 76.1067)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958E5 #B4E558
analogous
#586EE5 #8958E5 #D058E5
triadic
#8958E5 #E58958 #58E589
tetradic
#8958E5 #E5586E #B4E558 #58E5D0
square
#8958E5 #E5586E #B4E558 #58E5D0
split-complementary
#8958E5 #E5D058 #6EE558
monochromatic
#4C1AA8 #6423DD #8958E5 #AE8DED #D4C2F5

Accessibility & contrast

On white

4.57
#8958E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8958E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958E5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958E5#FFFFFF#000000##000000
##8958E51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#717896
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8958e5;
/* rgb */ color: rgb(137, 88, 229);
/* oklch */ color: oklch(58.6% 0.204 295.4);
Tailwind
colors: {
  custom: {
    50: '#b189ee',
    500: '#8958e5',
    950: '#000000',
  },
}
SCSS
$custom: #8958e5;
$custom-light: #b189ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8958e5",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 260.851,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.204,
    "h": 295.4
  },
  "luminance": 0.17955
}

Semantic roles & 50–950 ramp

primary
#8958E5
secondary
#D4E6B3
accent
#D51091
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958E5

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

Preview Lab → · Contrast checker → · Palette generator →

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