#8958DE#8958DE

#8958DE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.196 H 296.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8958DE
RGBrgb(137, 88, 222)
HSLhsl(262, 67%, 61%)
HSVhsv(262, 60%, 87%)
CMYKcmyk(38.3%, 60.4%, 0%, 12.9%)
CIE-LABlab(48.97, 48.58, -61.46)
CIE-LCHlch(48.97, 78.34, 308.32°)
OKLaboklab(58.09% 0.0879 -0.1749)
OKLCHoklch(58.09% 0.196 296.7)
XYZxyz(26.9877, 17.5713, 71.0628)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958DE #ADDE58
analogous
#586ADE #8958DE #CC58DE
triadic
#8958DE #DE8958 #58DE89
tetradic
#8958DE #DE586A #ADDE58 #58DECC
square
#8958DE #DE586A #ADDE58 #58DECC
split-complementary
#8958DE #DECC58 #6ADE58
monochromatic
#4D1F9D #6629D0 #8958DE #AD8BE8 #D1BEF2

Accessibility & contrast

On white

4.65
#8958DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8958DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8958DE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958DE#FFFFFF#000000##FFFFFF
##8958DE1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#1873DB
Tritanopia (blue-blind)
#747593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8958de;
/* rgb */ color: rgb(137, 88, 222);
/* oklch */ color: oklch(58.1% 0.196 296.7);
Tailwind
colors: {
  custom: {
    50: '#b189e9',
    500: '#8958de',
    950: '#000000',
  },
}
SCSS
$custom: #8958de;
$custom-light: #b189e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8958de",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 261.94,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58085,
    "c": 0.19571,
    "h": 296.7
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#8958DE
secondary
#D0E2B0
accent
#CF178C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958DE

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

Preview Lab → · Contrast checker → · Palette generator →

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