#8958FD#8958FD

#8958FD is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.232 H 291.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8958FD
RGBrgb(137, 88, 253)
HSLhsl(258, 98%, 67%)
HSVhsv(258, 65%, 99%)
CMYKcmyk(45.8%, 65.2%, 0%, 0.8%)
CIE-LABlab(51.14, 56.74, -75.35)
CIE-LCHlch(51.14, 94.32, 306.98°)
OKLaboklab(60.34% 0.0852 -0.2157)
OKLCHoklch(60.34% 0.232 291.6)
XYZxyz(31.5309, 19.3886, 94.9905)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958FD #CCFD58
analogous
#587AFD #8958FD #DB58FD
triadic
#8958FD #FD8958 #58FD89
tetradic
#8958FD #FD587A #CCFD58 #58FDDB
square
#8958FD #FD587A #CCFD58 #58FDDB
split-complementary
#8958FD #FDDB58 #7AFD58
monochromatic
#4203D8 #5E1CFC #8958FD #B494FE #DED1FE

Accessibility & contrast

On white

4.31
#8958FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8958FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958FD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958FD#FFFFFF#000000##000000
##8958FD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#6580A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8958fd;
/* rgb */ color: rgb(137, 88, 253);
/* oklch */ color: oklch(60.3% 0.232 291.6);
Tailwind
colors: {
  custom: {
    50: '#b48aff',
    500: '#8958fd',
    950: '#000000',
  },
}
SCSS
$custom: #8958fd;
$custom-light: #b48aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8958fd",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 257.818,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.23191,
    "h": 291.6
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#8958FD
secondary
#E3F3BE
accent
#E600A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8958FD

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

Preview Lab → · Contrast checker → · Palette generator →

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