#8958EB#8958EB

#8958EB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.211 H 294.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8958EB
RGBrgb(137, 88, 235)
HSLhsl(260, 79%, 63%)
HSVhsv(260, 63%, 92%)
CMYKcmyk(41.7%, 62.6%, 0%, 7.8%)
CIE-LABlab(49.85, 51.98, -67.38)
CIE-LCHlch(49.85, 85.10, 307.65°)
OKLaboklab(59% 0.0871 -0.1923)
OKLCHoklch(59% 0.211 294.4)
XYZxyz(28.7976, 18.2953, 80.5952)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958EB #BAEB58
analogous
#5870EB #8958EB #D258EB
triadic
#8958EB #EB8958 #58EB89
tetradic
#8958EB #EB5870 #BAEB58 #58EBD2
square
#8958EB #EB5870 #BAEB58 #58EBD2
split-complementary
#8958EB #EBD258 #70EB58
monochromatic
#4A15B3 #6221E4 #8958EB #B08FF2 #D6C5F8

Accessibility & contrast

On white

4.51
#8958EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8958EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958EB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958EB#FFFFFF#000000##000000
##8958EB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#6F7A9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8958eb;
/* rgb */ color: rgb(137, 88, 235);
/* oklch */ color: oklch(59.0% 0.211 294.4);
Tailwind
colors: {
  custom: {
    50: '#b28af2',
    500: '#8958eb',
    950: '#000000',
  },
}
SCSS
$custom: #8958eb;
$custom-light: #b28af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8958eb",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 260,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.21106,
    "h": 294.4
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#8958EB
secondary
#D8EAB5
accent
#DB0B95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8958EB

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

Preview Lab → · Contrast checker → · Palette generator →

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