#8958E0#8958E0

#8958E0 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.2% C 0.198 H 296.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8958E0
RGBrgb(137, 88, 224)
HSLhsl(262, 69%, 61%)
HSVhsv(262, 61%, 88%)
CMYKcmyk(38.8%, 60.7%, 0%, 12.2%)
CIE-LABlab(49.10, 49.10, -62.38)
CIE-LCHlch(49.10, 79.39, 308.21°)
OKLaboklab(58.22% 0.0878 -0.1776)
OKLCHoklch(58.22% 0.198 296.3)
XYZxyz(27.2573, 17.6791, 72.4829)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958E0 #AFE058
analogous
#586BE0 #8958E0 #CD58E0
triadic
#8958E0 #E08958 #58E089
tetradic
#8958E0 #E0586B #AFE058 #58E0CD
square
#8958E0 #E0586B #AFE058 #58E0CD
split-complementary
#8958E0 #E0CD58 #6BE058
monochromatic
#4D1EA0 #6527D4 #8958E0 #AD8CEA #D2BFF3

Accessibility & contrast

On white

4.63
#8958E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8958E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8958E0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958E0#FFFFFF#000000##FFFFFF
##8958E01.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#1273DD
Tritanopia (blue-blind)
#747694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8958e0;
/* rgb */ color: rgb(137, 88, 224);
/* oklch */ color: oklch(58.2% 0.198 296.3);
Tailwind
colors: {
  custom: {
    50: '#b189ea',
    500: '#8958e0',
    950: '#000000',
  },
}
SCSS
$custom: #8958e0;
$custom-light: #b189ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8958e0",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 224
  },
  "hsl": {
    "h": 261.618,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.19809,
    "h": 296.3
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

primary
#8958E0
secondary
#D1E3B0
accent
#D1158D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8958E0

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

Preview Lab → · Contrast checker → · Palette generator →

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