#8958C8#8958C8

#8958C8 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.169 H 301.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8958C8
RGBrgb(137, 88, 200)
HSLhsl(266, 50%, 56%)
HSVhsv(266, 56%, 78%)
CMYKcmyk(31.5%, 56%, 0%, 21.6%)
CIE-LABlab(47.58, 42.97, -51.12)
CIE-LCHlch(47.58, 66.78, 310.05°)
OKLaboklab(56.62% 0.0882 -0.1445)
OKLCHoklch(56.62% 0.169 301.4)
XYZxyz(24.2291, 16.4679, 56.5345)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958C8 #97C858
analogous
#585FC8 #8958C8 #C158C8
triadic
#8958C8 #C88958 #58C889
tetradic
#8958C8 #C8585F #97C858 #58C8C1
square
#8958C8 #C8585F #97C858 #58C8C1
split-complementary
#8958C8 #C8C158 #5FC858
monochromatic
#4E297D #6A38AB #8958C8 #AA86D7 #CAB4E6

Accessibility & contrast

On white

4.89
#8958C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8958C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958C8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958C8#FFFFFF#000000##FFFFFF
##8958C81.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#7D6E87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8958c8;
/* rgb */ color: rgb(137, 88, 200);
/* oklch */ color: oklch(56.6% 0.169 301.4);
Tailwind
colors: {
  custom: {
    50: '#af89d9',
    500: '#8958c8',
    950: '#000000',
  },
}
SCSS
$custom: #8958c8;
$custom-light: #af89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8958c8",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 266.25,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.16927,
    "h": 301.4
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#8958C8
secondary
#C1D5A7
accent
#DA4E9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8958C8

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

Preview Lab → · Contrast checker → · Palette generator →

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