#8957FB#8957FB

#8957FB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.231 H 292.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8957FB
RGBrgb(137, 87, 251)
HSLhsl(258, 95%, 66%)
HSVhsv(258, 65%, 98%)
CMYKcmyk(45.4%, 65.3%, 0%, 1.6%)
CIE-LABlab(50.80, 56.72, -74.78)
CIE-LCHlch(50.80, 93.86, 307.18°)
OKLaboklab(60.05% 0.0864 -0.214)
OKLCHoklch(60.05% 0.231 292)
XYZxyz(31.1325, 19.0987, 93.2942)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957FB #C9FB57
analogous
#5777FB #8957FB #DB57FB
triadic
#8957FB #FB8957 #57FB89
tetradic
#8957FB #FB5777 #C9FB57 #57FBDB
square
#8957FB #FB5777 #C9FB57 #57FBDB
split-complementary
#8957FB #FBDB57 #77FB57
monochromatic
#4405D3 #5F1BFA #8957FB #B393FC #DDCFFE

Accessibility & contrast

On white

4.36
#8957FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8957FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957FB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957FB#FFFFFF#000000##000000
##8957FB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#677FA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8957fb;
/* rgb */ color: rgb(137, 87, 251);
/* oklch */ color: oklch(60.0% 0.231 292.0);
Tailwind
colors: {
  custom: {
    50: '#b489fe',
    500: '#8957fb',
    950: '#000000',
  },
}
SCSS
$custom: #8957fb;
$custom-light: #b489fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8957fb",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 258.293,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.23082,
    "h": 292
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#8957FB
secondary
#E1F2BC
accent
#E600A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8957FB

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

Preview Lab → · Contrast checker → · Palette generator →

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