#8958DD#8958DD

#8958DD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.195 H 296.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8958DD
RGBrgb(137, 88, 221)
HSLhsl(262, 66%, 61%)
HSVhsv(262, 60%, 87%)
CMYKcmyk(38%, 60.2%, 0%, 13.3%)
CIE-LABlab(48.91, 48.32, -61.00)
CIE-LCHlch(48.91, 77.82, 308.39°)
OKLaboklab(58.02% 0.0879 -0.1735)
OKLCHoklch(58.02% 0.195 296.9)
XYZxyz(26.8541, 17.5178, 70.3590)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958DD #ACDD58
analogous
#5869DD #8958DD #CB58DD
triadic
#8958DD #DD8958 #58DD89
tetradic
#8958DD #DD5869 #ACDD58 #58DDCB
square
#8958DD #DD5869 #ACDD58 #58DDCB
split-complementary
#8958DD #DDCB58 #69DD58
monochromatic
#4D209B #662ACE #8958DD #AD8BE7 #D1BEF2

Accessibility & contrast

On white

4.66
#8958DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8958DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8958DD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958DD#FFFFFF#000000##FFFFFF
##8958DD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8958dd;
/* rgb */ color: rgb(137, 88, 221);
/* oklch */ color: oklch(58.0% 0.195 296.9);
Tailwind
colors: {
  custom: {
    50: '#b189e8',
    500: '#8958dd',
    950: '#000000',
  },
}
SCSS
$custom: #8958dd;
$custom-light: #b189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8958dd",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 262.105,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.19453,
    "h": 296.9
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#8958DD
secondary
#CFE2AF
accent
#CE178B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958DD

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

Preview Lab → · Contrast checker → · Palette generator →

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