#8958F1#8958F1

#8958F1 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.218 H 293.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8958F1
RGBrgb(137, 88, 241)
HSLhsl(259, 85%, 65%)
HSVhsv(259, 63%, 95%)
CMYKcmyk(43.2%, 63.5%, 0%, 5.5%)
CIE-LABlab(50.27, 53.56, -70.06)
CIE-LCHlch(50.27, 88.19, 307.39°)
OKLaboklab(59.44% 0.0865 -0.2002)
OKLCHoklch(59.44% 0.218 293.4)
XYZxyz(29.6791, 18.6478, 85.2377)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958F1 #C0F158
analogous
#5874F1 #8958F1 #D658F1
triadic
#8958F1 #F18958 #58F189
tetradic
#8958F1 #F15874 #C0F158 #58F1D6
square
#8958F1 #F15874 #C0F158 #58F1D6
split-complementary
#8958F1 #F1D658 #74F158
monochromatic
#4810BF #6120EC #8958F1 #B190F6 #D9C9FA

Accessibility & contrast

On white

4.44
#8958F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8958F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958F1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958F1#FFFFFF#000000##000000
##8958F11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#6C7C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8958f1;
/* rgb */ color: rgb(137, 88, 241);
/* oklch */ color: oklch(59.4% 0.218 293.4);
Tailwind
colors: {
  custom: {
    50: '#b28af7',
    500: '#8958f1',
    950: '#000000',
  },
}
SCSS
$custom: #8958f1;
$custom-light: #b28af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8958f1",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 259.216,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.21806,
    "h": 293.4
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#8958F1
secondary
#DCEDB8
accent
#E1059A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8958F1

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

Preview Lab → · Contrast checker → · Palette generator →

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