#8358EC#8358EC

#8358EC is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.212 H 291.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8358EC
RGBrgb(131, 88, 236)
HSLhsl(257, 80%, 64%)
HSVhsv(257, 63%, 93%)
CMYKcmyk(44.5%, 62.7%, 0%, 7.5%)
CIE-LABlab(49.33, 51.06, -68.82)
CIE-LCHlch(49.33, 85.69, 306.57°)
OKLaboklab(58.51% 0.0791 -0.1967)
OKLCHoklch(58.51% 0.212 291.9)
XYZxyz(27.9859, 17.8600, 81.3134)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8358EC #C1EC58
analogous
#5877EC #8358EC #CD58EC
triadic
#8358EC #EC8358 #58EC83
tetradic
#8358EC #EC5877 #C1EC58 #58ECCD
square
#8358EC #EC5877 #C1EC58 #58ECCD
split-complementary
#8358EC #ECCD58 #77EC58
monochromatic
#4315B5 #5A21E6 #8358EC #AC8FF2 #D5C6F9

Accessibility & contrast

On white

4.59
#8358EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8358EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8358EC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8358EC#FFFFFF#000000##FFFFFF
##8358EC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#647B9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8358ec;
/* rgb */ color: rgb(131, 88, 236);
/* oklch */ color: oklch(58.5% 0.212 291.9);
Tailwind
colors: {
  custom: {
    50: '#ae89f3',
    500: '#8358ec',
    950: '#000000',
  },
}
SCSS
$custom: #8358ec;
$custom-light: #ae89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8358ec",
  "rgb": {
    "r": 131,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 257.432,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.21201,
    "h": 291.9
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#8358EC
secondary
#DBEAB6
accent
#DC0A9F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8358EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8358EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva