#8958F5#8958F5

#8958F5 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.223 H 292.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8958F5
RGBrgb(137, 88, 245)
HSLhsl(259, 89%, 65%)
HSVhsv(259, 64%, 96%)
CMYKcmyk(44.1%, 64.1%, 0%, 3.9%)
CIE-LABlab(50.56, 54.61, -71.84)
CIE-LCHlch(50.56, 90.24, 307.24°)
OKLaboklab(59.74% 0.0861 -0.2054)
OKLCHoklch(59.74% 0.223 292.7)
XYZxyz(30.2832, 18.8895, 88.4190)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958F5 #C4F558
analogous
#5875F5 #8958F5 #D758F5
triadic
#8958F5 #F58958 #58F589
tetradic
#8958F5 #F55875 #C4F558 #58F5D7
square
#8958F5 #F55875 #C4F558 #58F5D7
split-complementary
#8958F5 #F5D758 #75F558
monochromatic
#460CC7 #601EF2 #8958F5 #B292F8 #DBCBFC

Accessibility & contrast

On white

4.40
#8958F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8958F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958F5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958F5#FFFFFF#000000##000000
##8958F51.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#6A7D9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8958f5;
/* rgb */ color: rgb(137, 88, 245);
/* oklch */ color: oklch(59.7% 0.223 292.7);
Tailwind
colors: {
  custom: {
    50: '#b38af9',
    500: '#8958f5',
    950: '#000000',
  },
}
SCSS
$custom: #8958f5;
$custom-light: #b38af9;
$custom-dark: #000000;
JSON
{
  "hex": "#8958f5",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 258.726,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.2227,
    "h": 292.7
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#8958F5
secondary
#DEEFBA
accent
#E5009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8958F5

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

Preview Lab → · Contrast checker → · Palette generator →

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