#8358CA#8358CA

#8358CA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.171 H 298.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8358CA
RGBrgb(131, 88, 202)
HSLhsl(263, 52%, 57%)
HSVhsv(263, 56%, 79%)
CMYKcmyk(35.1%, 56.4%, 0%, 20.8%)
CIE-LABlab(47.06, 42.02, -53.14)
CIE-LCHlch(47.06, 67.75, 308.34°)
OKLaboklab(56.13% 0.0804 -0.1506)
OKLCHoklch(56.13% 0.171 298.1)
XYZxyz(23.5078, 16.0687, 57.7287)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8358CA #9FCA58
analogous
#5866CA #8358CA #BC58CA
triadic
#8358CA #CA8358 #58CA83
tetradic
#8358CA #CA5866 #9FCA58 #58CABC
square
#8358CA #CA5866 #9FCA58 #58CABC
split-complementary
#8358CA #CABC58 #66CA58
monochromatic
#49287F #6437AE #8358CA #A586D9 #C8B5E7

Accessibility & contrast

On white

4.98
#8358CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8358CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8358CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8358CA#FFFFFF#000000##FFFFFF
##8358CA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#736F88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8358ca;
/* rgb */ color: rgb(131, 88, 202);
/* oklch */ color: oklch(56.1% 0.171 298.1);
Tailwind
colors: {
  custom: {
    50: '#ab89db',
    500: '#8358ca',
    950: '#000000',
  },
}
SCSS
$custom: #8358ca;
$custom-light: #ab89db;
$custom-dark: #000000;
JSON
{
  "hex": "#8358ca",
  "rgb": {
    "r": 131,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 262.632,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.17073,
    "h": 298.1
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#8358CA
secondary
#C5D6A8
accent
#DB4DA5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8358CA

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

Preview Lab → · Contrast checker → · Palette generator →

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