#8958F3#8958F3

#8958F3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.220 H 293.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8958F3
RGBrgb(137, 88, 243)
HSLhsl(259, 87%, 65%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(43.6%, 63.8%, 0%, 4.7%)
CIE-LABlab(50.41, 54.08, -70.95)
CIE-LCHlch(50.41, 89.21, 307.32°)
OKLaboklab(59.59% 0.0863 -0.2028)
OKLCHoklch(59.59% 0.22 293.1)
XYZxyz(29.9795, 18.7680, 86.8197)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958F3 #C2F358
analogous
#5874F3 #8958F3 #D758F3
triadic
#8958F3 #F38958 #58F389
tetradic
#8958F3 #F35874 #C2F358 #58F3D7
square
#8958F3 #F35874 #C2F358 #58F3D7
split-complementary
#8958F3 #F3D758 #74F358
monochromatic
#470EC3 #611FEF #8958F3 #B191F7 #DACAFB

Accessibility & contrast

On white

4.42
#8958F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8958F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958F3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958F3#FFFFFF#000000##000000
##8958F31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#6B7D9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8958f3;
/* rgb */ color: rgb(137, 88, 243);
/* oklch */ color: oklch(59.6% 0.220 293.1);
Tailwind
colors: {
  custom: {
    50: '#b38af8',
    500: '#8958f3',
    950: '#000000',
  },
}
SCSS
$custom: #8958f3;
$custom-light: #b38af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8958f3",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 258.968,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.22038,
    "h": 293.1
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#8958F3
secondary
#DDEEB9
accent
#E3029C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8958F3

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

Preview Lab → · Contrast checker → · Palette generator →

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