#8358E7#8358E7

#8358E7 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.206 H 292.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8358E7
RGBrgb(131, 88, 231)
HSLhsl(258, 75%, 63%)
HSVhsv(258, 62%, 91%)
CMYKcmyk(43.3%, 61.9%, 0%, 9.4%)
CIE-LABlab(48.97, 49.71, -66.58)
CIE-LCHlch(48.97, 83.09, 306.75°)
OKLaboklab(58.14% 0.0795 -0.1901)
OKLCHoklch(58.14% 0.206 292.7)
XYZxyz(27.2697, 17.5735, 77.5410)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8358E7 #BCE758
analogous
#5874E7 #8358E7 #CB58E7
triadic
#8358E7 #E78358 #58E783
tetradic
#8358E7 #E75874 #BCE758 #58E7CB
square
#8358E7 #E75874 #BCE758 #58E7CB
split-complementary
#8358E7 #E7CB58 #74E758
monochromatic
#4519AC #5B22DF #8358E7 #AB8EEF #D2C3F6

Accessibility & contrast

On white

4.65
#8358E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8358E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8358E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8358E7#FFFFFF#000000##FFFFFF
##8358E71.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#677997
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8358e7;
/* rgb */ color: rgb(131, 88, 231);
/* oklch */ color: oklch(58.1% 0.206 292.7);
Tailwind
colors: {
  custom: {
    50: '#ae89ef',
    500: '#8358e7',
    950: '#000000',
  },
}
SCSS
$custom: #8358e7;
$custom-light: #ae89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8358e7",
  "rgb": {
    "r": 131,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 258.042,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.20604,
    "h": 292.7
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#8358E7
secondary
#D8E7B3
accent
#D70E9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8358E7

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

Preview Lab → · Contrast checker → · Palette generator →

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