#8957D4#8957D4

#8957D4 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.185 H 298.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8957D4
RGBrgb(137, 87, 212)
HSLhsl(264, 59%, 59%)
HSVhsv(264, 59%, 83%)
CMYKcmyk(35.4%, 59%, 0%, 16.9%)
CIE-LABlab(48.12, 46.55, -57.15)
CIE-LCHlch(48.12, 73.71, 309.17°)
OKLaboklab(57.26% 0.0894 -0.1622)
OKLCHoklch(57.26% 0.185 298.9)
XYZxyz(25.6055, 16.8879, 64.1853)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957D4 #A2D457
analogous
#5763D4 #8957D4 #C757D4
triadic
#8957D4 #D48957 #57D489
tetradic
#8957D4 #D45763 #A2D457 #57D4C7
square
#8957D4 #D45763 #A2D457 #57D4C7
split-complementary
#8957D4 #D4C757 #63D457
monochromatic
#4E248D #6930BD #8957D4 #AB88E0 #CDB8ED

Accessibility & contrast

On white

4.80
#8957D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8957D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957D4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957D4#FFFFFF#000000##FFFFFF
##8957D41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C72D8
Deuteranopia (green-blind)
#2B71D1
Tritanopia (blue-blind)
#78718D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8957d4;
/* rgb */ color: rgb(137, 87, 212);
/* oklch */ color: oklch(57.3% 0.185 298.9);
Tailwind
colors: {
  custom: {
    50: '#b088e2',
    500: '#8957d4',
    950: '#000000',
  },
}
SCSS
$custom: #8957d4;
$custom-light: #b088e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8957d4",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 264,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.18519,
    "h": 298.9
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#8957D4
secondary
#C8DCAB
accent
#E245A4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8957D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8957D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva