#8958DC#8958DC

#8958DC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.9% C 0.193 H 297.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8958DC
RGBrgb(137, 88, 220)
HSLhsl(262, 65%, 60%)
HSVhsv(262, 60%, 86%)
CMYKcmyk(37.7%, 60%, 0%, 13.7%)
CIE-LABlab(48.84, 48.06, -60.54)
CIE-LCHlch(48.84, 77.30, 308.45°)
OKLaboklab(57.95% 0.088 -0.1722)
OKLCHoklch(57.95% 0.193 297.1)
XYZxyz(26.7212, 17.4647, 69.6595)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958DC #ABDC58
analogous
#5869DC #8958DC #CB58DC
triadic
#8958DC #DC8958 #58DC89
tetradic
#8958DC #DC5869 #ABDC58 #58DCCB
square
#8958DC #DC5869 #ABDC58 #58DCCB
split-complementary
#8958DC #DCCB58 #69DC58
monochromatic
#4D2099 #672BCC #8958DC #AD8BE7 #D1BDF1

Accessibility & contrast

On white

4.67
#8958DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8958DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958DC#FFFFFF#000000##FFFFFF
##8958DC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#1E72D9
Tritanopia (blue-blind)
#757592
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8958dc;
/* rgb */ color: rgb(137, 88, 220);
/* oklch */ color: oklch(57.9% 0.193 297.1);
Tailwind
colors: {
  custom: {
    50: '#b089e8',
    500: '#8958dc',
    950: '#000000',
  },
}
SCSS
$custom: #8958dc;
$custom-light: #b089e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8958dc",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 262.273,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57947,
    "c": 0.19333,
    "h": 297.1
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

primary
#8958DC
secondary
#CEE1AF
accent
#CD188A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958DC

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

Preview Lab → · Contrast checker → · Palette generator →

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