#8358EB#8358EB

#8358EB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.211 H 292.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8358EB
RGBrgb(131, 88, 235)
HSLhsl(258, 79%, 63%)
HSVhsv(258, 63%, 92%)
CMYKcmyk(44.3%, 62.6%, 0%, 7.8%)
CIE-LABlab(49.26, 50.79, -68.37)
CIE-LCHlch(49.26, 85.17, 306.61°)
OKLaboklab(58.43% 0.0792 -0.1954)
OKLCHoklch(58.43% 0.211 292.1)
XYZxyz(27.8410, 17.8020, 80.5504)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8358EB #C0EB58
analogous
#5876EB #8358EB #CC58EB
triadic
#8358EB #EB8358 #58EB83
tetradic
#8358EB #EB5876 #C0EB58 #58EBCC
square
#8358EB #EB5876 #C0EB58 #58EBCC
split-complementary
#8358EB #EBCC58 #76EB58
monochromatic
#4415B3 #5A21E4 #8358EB #AC8FF2 #D4C5F8

Accessibility & contrast

On white

4.60
#8358EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8358EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8358EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8358EB#FFFFFF#000000##FFFFFF
##8358EB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#657A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8358eb;
/* rgb */ color: rgb(131, 88, 235);
/* oklch */ color: oklch(58.4% 0.211 292.1);
Tailwind
colors: {
  custom: {
    50: '#ae89f2',
    500: '#8358eb',
    950: '#000000',
  },
}
SCSS
$custom: #8358eb;
$custom-light: #ae89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8358eb",
  "rgb": {
    "r": 131,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 257.551,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.21081,
    "h": 292.1
  },
  "luminance": 0.17803
}

Semantic roles & 50–950 ramp

primary
#8358EB
secondary
#DAEAB5
accent
#DB0B9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8358EB

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

Preview Lab → · Contrast checker → · Palette generator →

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