#8958CD#8958CD

#8958CD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.175 H 300.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8958CD
RGBrgb(137, 88, 205)
HSLhsl(265, 54%, 57%)
HSVhsv(265, 57%, 80%)
CMYKcmyk(33.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(47.89, 44.23, -53.51)
CIE-LCHlch(47.89, 69.42, 309.57°)
OKLaboklab(56.94% 0.0882 -0.1515)
OKLCHoklch(56.94% 0.175 300.2)
XYZxyz(24.8231, 16.7054, 59.6625)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958CD #9CCD58
analogous
#5862CD #8958CD #C358CD
triadic
#8958CD #CD8958 #58CD89
tetradic
#8958CD #CD5862 #9CCD58 #58CDC3
square
#8958CD #CD5862 #9CCD58 #58CDC3
split-complementary
#8958CD #CDC358 #62CD58
monochromatic
#4E2783 #6A35B2 #8958CD #AA87DB #CCB6E9

Accessibility & contrast

On white

4.84
#8958CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8958CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958CD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958CD#FFFFFF#000000##FFFFFF
##8958CD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#7B708A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8958cd;
/* rgb */ color: rgb(137, 88, 205);
/* oklch */ color: oklch(56.9% 0.175 300.2);
Tailwind
colors: {
  custom: {
    50: '#af89dd',
    500: '#8958cd',
    950: '#000000',
  },
}
SCSS
$custom: #8958cd;
$custom-light: #af89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8958cd",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 265.128,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.17532,
    "h": 300.2
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#8958CD
secondary
#C4D8A9
accent
#DD4BA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8958CD

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

Preview Lab → · Contrast checker → · Palette generator →

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