#8958FF#8958FF

#8958FF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.234 H 291.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8958FF
RGBrgb(137, 88, 255)
HSLhsl(258, 100%, 67%)
HSVhsv(258, 65%, 100%)
CMYKcmyk(46.3%, 65.5%, 0%, 0%)
CIE-LABlab(51.29, 57.27, -76.22)
CIE-LCHlch(51.29, 95.34, 306.92°)
OKLaboklab(60.49% 0.0849 -0.2183)
OKLCHoklch(60.49% 0.234 291.3)
XYZxyz(31.8512, 19.5167, 96.6772)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958FF #CEFF58
analogous
#587AFF #8958FF #DD58FF
triadic
#8958FF #FF8958 #58FF89
tetradic
#8958FF #FF587A #CEFF58 #58FFDD
square
#8958FF #FF587A #CEFF58 #58FFDD
split-complementary
#8958FF #FFDD58 #7AFF58
monochromatic
#4100DD #5E1BFF #8958FF #B495FF #DFD2FF

Accessibility & contrast

On white

4.28
#8958FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8958FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958FF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958FF#FFFFFF#000000##000000
##8958FF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#6481A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8958ff;
/* rgb */ color: rgb(137, 88, 255);
/* oklch */ color: oklch(60.5% 0.234 291.3);
Tailwind
colors: {
  custom: {
    50: '#b48aff',
    500: '#8958ff',
    950: '#000000',
  },
}
SCSS
$custom: #8958ff;
$custom-light: #b48aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8958ff",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 257.605,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.2342,
    "h": 291.3
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#8958FF
secondary
#E4F4BF
accent
#E600A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8958FF

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

Preview Lab → · Contrast checker → · Palette generator →

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