#8958DB#8958DB

#8958DB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.192 H 297.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8958DB
RGBrgb(137, 88, 219)
HSLhsl(262, 65%, 60%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(37.4%, 59.8%, 0%, 14.1%)
CIE-LABlab(48.77, 47.81, -60.08)
CIE-LCHlch(48.77, 76.78, 308.51°)
OKLaboklab(57.88% 0.088 -0.1708)
OKLCHoklch(57.88% 0.192 297.3)
XYZxyz(26.5892, 17.4119, 68.9641)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958DB #AADB58
analogous
#5868DB #8958DB #CB58DB
triadic
#8958DB #DB8958 #58DB89
tetradic
#8958DB #DB5868 #AADB58 #58DBCB
square
#8958DB #DB5868 #AADB58 #58DBCB
split-complementary
#8958DB #DBCB58 #68DB58
monochromatic
#4D2198 #672CCA #8958DB #AD8AE6 #D0BDF1

Accessibility & contrast

On white

4.68
#8958DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8958DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958DB#FFFFFF#000000##FFFFFF
##8958DB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2072D8
Tritanopia (blue-blind)
#767491
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8958db;
/* rgb */ color: rgb(137, 88, 219);
/* oklch */ color: oklch(57.9% 0.192 297.3);
Tailwind
colors: {
  custom: {
    50: '#b089e7',
    500: '#8958db',
    950: '#000000',
  },
}
SCSS
$custom: #8958db;
$custom-light: #b089e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8958db",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 262.443,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57878,
    "c": 0.19214,
    "h": 297.3
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#8958DB
secondary
#CEE1AE
accent
#CC1989
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958DB

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

Preview Lab → · Contrast checker → · Palette generator →

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