#8958E8#8958E8

#8958E8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.208 H 294.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8958E8
RGBrgb(137, 88, 232)
HSLhsl(260, 76%, 63%)
HSVhsv(260, 62%, 91%)
CMYKcmyk(40.9%, 62.1%, 0%, 9%)
CIE-LABlab(49.65, 51.19, -66.03)
CIE-LCHlch(49.65, 83.55, 307.79°)
OKLaboklab(58.79% 0.0873 -0.1883)
OKLCHoklch(58.79% 0.208 294.9)
XYZxyz(28.3679, 18.1233, 78.3318)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958E8 #B7E858
analogous
#586FE8 #8958E8 #D158E8
triadic
#8958E8 #E88958 #58E889
tetradic
#8958E8 #E8586F #B7E858 #58E8D1
square
#8958E8 #E8586F #B7E858 #58E8D1
split-complementary
#8958E8 #E8D158 #6FE858
monochromatic
#4B18AE #6322E1 #8958E8 #AF8EEF #D5C4F7

Accessibility & contrast

On white

4.54
#8958E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8958E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958E8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958E8#FFFFFF#000000##000000
##8958E81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#707998
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8958e8;
/* rgb */ color: rgb(137, 88, 232);
/* oklch */ color: oklch(58.8% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#b289f0',
    500: '#8958e8',
    950: '#000000',
  },
}
SCSS
$custom: #8958e8;
$custom-light: #b289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8958e8",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 260.417,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.20754,
    "h": 294.9
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#8958E8
secondary
#D6E8B4
accent
#D80E93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8958E8

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

Preview Lab → · Contrast checker → · Palette generator →

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