#8958E9#8958E9

#8958E9 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.209 H 294.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8958E9
RGBrgb(137, 88, 233)
HSLhsl(260, 77%, 63%)
HSVhsv(260, 62%, 91%)
CMYKcmyk(41.2%, 62.2%, 0%, 8.6%)
CIE-LABlab(49.71, 51.45, -66.48)
CIE-LCHlch(49.71, 84.06, 307.74°)
OKLaboklab(58.86% 0.0872 -0.1896)
OKLCHoklch(58.86% 0.209 294.7)
XYZxyz(28.5103, 18.1803, 79.0820)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958E9 #B8E958
analogous
#586FE9 #8958E9 #D258E9
triadic
#8958E9 #E98958 #58E989
tetradic
#8958E9 #E9586F #B8E958 #58E9D2
square
#8958E9 #E9586F #B8E958 #58E9D2
split-complementary
#8958E9 #E9D258 #6FE958
monochromatic
#4B17AF #6322E2 #8958E9 #AF8EF0 #D5C4F7

Accessibility & contrast

On white

4.53
#8958E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8958E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958E9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958E9#FFFFFF#000000##000000
##8958E91.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#707999
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8958e9;
/* rgb */ color: rgb(137, 88, 233);
/* oklch */ color: oklch(58.9% 0.209 294.7);
Tailwind
colors: {
  custom: {
    50: '#b289f1',
    500: '#8958e9',
    950: '#000000',
  },
}
SCSS
$custom: #8958e9;
$custom-light: #b289f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8958e9",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 260.276,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5886,
    "c": 0.20871,
    "h": 294.7
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#8958E9
secondary
#D7E8B4
accent
#D90D94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8958E9

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

Preview Lab → · Contrast checker → · Palette generator →

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