#8957F3#8957F3

#8957F3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.222 H 293.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8957F3
RGBrgb(137, 87, 243)
HSLhsl(259, 87%, 65%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(43.6%, 64.2%, 0%, 4.7%)
CIE-LABlab(50.22, 54.61, -71.26)
CIE-LCHlch(50.22, 89.78, 307.46°)
OKLaboklab(59.45% 0.0873 -0.2037)
OKLCHoklch(59.45% 0.222 293.2)
XYZxyz(29.8980, 18.6049, 86.7925)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957F3 #C1F357
analogous
#5773F3 #8957F3 #D757F3
triadic
#8957F3 #F38957 #57F389
tetradic
#8957F3 #F35773 #C1F357 #57F3D7
square
#8957F3 #F35773 #C1F357 #57F3D7
split-complementary
#8957F3 #F3D757 #73F357
monochromatic
#480EC2 #611EEF #8957F3 #B190F7 #D9C9FB

Accessibility & contrast

On white

4.45
#8957F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8957F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957F3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957F3#FFFFFF#000000##000000
##8957F31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6B7C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8957f3;
/* rgb */ color: rgb(137, 87, 243);
/* oklch */ color: oklch(59.4% 0.222 293.2);
Tailwind
colors: {
  custom: {
    50: '#b389f8',
    500: '#8957f3',
    950: '#000000',
  },
}
SCSS
$custom: #8957f3;
$custom-light: #b389f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8957f3",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 259.231,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.22163,
    "h": 293.2
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#8957F3
secondary
#DDEEB8
accent
#E3029B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8957F3

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

Preview Lab → · Contrast checker → · Palette generator →

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