#8958F0#8958F0

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

Color values

HEX#8958F0
RGBrgb(137, 88, 240)
HSLhsl(259, 84%, 64%)
HSVhsv(259, 63%, 94%)
CMYKcmyk(42.9%, 63.3%, 0%, 5.9%)
CIE-LABlab(50.20, 53.29, -69.62)
CIE-LCHlch(50.20, 87.67, 307.43°)
OKLaboklab(59.37% 0.0866 -0.1989)
OKLCHoklch(59.37% 0.217 293.5)
XYZxyz(29.5302, 18.5883, 84.4532)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958F0 #BFF058
analogous
#5873F0 #8958F0 #D558F0
triadic
#8958F0 #F08958 #58F089
tetradic
#8958F0 #F05873 #BFF058 #58F0D5
square
#8958F0 #F05873 #BFF058 #58F0D5
split-complementary
#8958F0 #F0D558 #73F058
monochromatic
#4811BD #6120EB #8958F0 #B190F5 #D8C8FA

Accessibility & contrast

On white

4.45
#8958F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8958F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958F0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958F0#FFFFFF#000000##000000
##8958F01.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)
#0079F5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#6C7C9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8958f0;
/* rgb */ color: rgb(137, 88, 240);
/* oklch */ color: oklch(59.4% 0.217 293.5);
Tailwind
colors: {
  custom: {
    50: '#b28af6',
    500: '#8958f0',
    950: '#000000',
  },
}
SCSS
$custom: #8958f0;
$custom-light: #b28af6;
$custom-dark: #000000;
JSON
{
  "hex": "#8958f0",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 259.342,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.2169,
    "h": 293.5
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#8958F0
secondary
#DBECB8
accent
#E0069A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8958F0

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

Preview Lab → · Contrast checker → · Palette generator →

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