#8958EF#8958EF

#8958EF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.216 H 293.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8958EF
RGBrgb(137, 88, 239)
HSLhsl(259, 83%, 64%)
HSVhsv(259, 63%, 94%)
CMYKcmyk(42.7%, 63.2%, 0%, 6.3%)
CIE-LABlab(50.13, 53.03, -69.17)
CIE-LCHlch(50.13, 87.16, 307.47°)
OKLaboklab(59.29% 0.0867 -0.1975)
OKLCHoklch(59.29% 0.216 293.7)
XYZxyz(29.3820, 18.5290, 83.6730)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958EF #BEEF58
analogous
#5873EF #8958EF #D558EF
triadic
#8958EF #EF8958 #58EF89
tetradic
#8958EF #EF5873 #BEEF58 #58EFD5
square
#8958EF #EF5873 #BEEF58 #58EFD5
split-complementary
#8958EF #EFD558 #73EF58
monochromatic
#4912BB #6220EA #8958EF #B090F4 #D8C8FA

Accessibility & contrast

On white

4.46
#8958EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8958EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958EF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958EF#FFFFFF#000000##000000
##8958EF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#6D7B9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8958ef;
/* rgb */ color: rgb(137, 88, 239);
/* oklch */ color: oklch(59.3% 0.216 293.7);
Tailwind
colors: {
  custom: {
    50: '#b28af5',
    500: '#8958ef',
    950: '#000000',
  },
}
SCSS
$custom: #8958ef;
$custom-light: #b28af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8958ef",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 259.47,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59294,
    "c": 0.21573,
    "h": 293.7
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#8958EF
secondary
#DBECB7
accent
#DF0799
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8958EF

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

Preview Lab → · Contrast checker → · Palette generator →

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