#8958ED#8958ED

#8958ED is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.213 H 294.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8958ED
RGBrgb(137, 88, 237)
HSLhsl(260, 81%, 64%)
HSVhsv(260, 63%, 93%)
CMYKcmyk(42.2%, 62.9%, 0%, 7.1%)
CIE-LABlab(49.99, 52.50, -68.28)
CIE-LCHlch(49.99, 86.13, 307.56°)
OKLaboklab(59.15% 0.0869 -0.1949)
OKLCHoklch(59.15% 0.213 294)
XYZxyz(29.0882, 18.4115, 82.1255)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958ED #BCED58
analogous
#5871ED #8958ED #D458ED
triadic
#8958ED #ED8958 #58ED89
tetradic
#8958ED #ED5871 #BCED58 #58EDD4
square
#8958ED #ED5871 #BCED58 #58EDD4
split-complementary
#8958ED #EDD458 #71ED58
monochromatic
#4914B7 #6221E7 #8958ED #B08FF3 #D7C6F9

Accessibility & contrast

On white

4.48
#8958ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8958ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8958ED
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958ED#FFFFFF#000000##000000
##8958ED1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#6E7A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8958ed;
/* rgb */ color: rgb(137, 88, 237);
/* oklch */ color: oklch(59.1% 0.213 294.0);
Tailwind
colors: {
  custom: {
    50: '#b28af4',
    500: '#8958ed',
    950: '#000000',
  },
}
SCSS
$custom: #8958ed;
$custom-light: #b28af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8958ed",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 259.732,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.2134,
    "h": 294
  },
  "luminance": 0.18412
}

Semantic roles & 50–950 ramp

primary
#8958ED
secondary
#D9EBB6
accent
#DD0997
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8958ED

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

Preview Lab → · Contrast checker → · Palette generator →

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