#8958CE#8958CE

#8958CE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.177 H 300.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8958CE
RGBrgb(137, 88, 206)
HSLhsl(265, 55%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33.5%, 57.3%, 0%, 19.2%)
CIE-LABlab(47.95, 44.48, -53.99)
CIE-LCHlch(47.95, 69.95, 309.49°)
OKLaboklab(57.01% 0.0882 -0.1529)
OKLCHoklch(57.01% 0.177 300)
XYZxyz(24.9441, 16.7539, 60.3002)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958CE #9DCE58
analogous
#5862CE #8958CE #C458CE
triadic
#8958CE #CE8958 #58CE89
tetradic
#8958CE #CE5862 #9DCE58 #58CEC4
square
#8958CE #CE5862 #9DCE58 #58CEC4
split-complementary
#8958CE #CEC458 #62CE58
monochromatic
#4E2785 #6A35B4 #8958CE #AA87DC #CCB7EA

Accessibility & contrast

On white

4.83
#8958CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8958CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958CE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958CE#FFFFFF#000000##FFFFFF
##8958CE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#7A708B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8958ce;
/* rgb */ color: rgb(137, 88, 206);
/* oklch */ color: oklch(57.0% 0.177 300.0);
Tailwind
colors: {
  custom: {
    50: '#af89de',
    500: '#8958ce',
    950: '#000000',
  },
}
SCSS
$custom: #8958ce;
$custom-light: #af89de;
$custom-dark: #000000;
JSON
{
  "hex": "#8958ce",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 264.915,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.17653,
    "h": 300
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#8958CE
secondary
#C5D9A9
accent
#DE4AA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8958CE

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

Preview Lab → · Contrast checker → · Palette generator →

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