#8958E6#8958E6

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

Color values

HEX#8958E6
RGBrgb(137, 88, 230)
HSLhsl(261, 74%, 62%)
HSVhsv(261, 62%, 90%)
CMYKcmyk(40.4%, 61.7%, 0%, 9.8%)
CIE-LABlab(49.51, 50.67, -65.12)
CIE-LCHlch(49.51, 82.51, 307.88°)
OKLaboklab(58.65% 0.0874 -0.1856)
OKLCHoklch(58.65% 0.205 295.2)
XYZxyz(28.0854, 18.0104, 76.8442)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958E6 #B5E658
analogous
#586EE6 #8958E6 #D058E6
triadic
#8958E6 #E68958 #58E689
tetradic
#8958E6 #E6586E #B5E658 #58E6D0
square
#8958E6 #E6586E #B5E658 #58E6D0
split-complementary
#8958E6 #E6D058 #6EE658
monochromatic
#4B19AA #6323DE #8958E6 #AF8DEE #D4C2F6

Accessibility & contrast

On white

4.56
#8958E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8958E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958E6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958E6#FFFFFF#000000##000000
##8958E61.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#717897
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8958e6;
/* rgb */ color: rgb(137, 88, 230);
/* oklch */ color: oklch(58.6% 0.205 295.2);
Tailwind
colors: {
  custom: {
    50: '#b189ef',
    500: '#8958e6',
    950: '#000000',
  },
}
SCSS
$custom: #8958e6;
$custom-light: #b189ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8958e6",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 260.704,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.20518,
    "h": 295.2
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#8958E6
secondary
#D5E7B3
accent
#D60F92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958E6

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

Preview Lab → · Contrast checker → · Palette generator →

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