#9358CA#9358CA

#9358CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.174 H 305.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9358CA
RGBrgb(147, 88, 202)
HSLhsl(271, 52%, 57%)
HSVhsv(271, 56%, 79%)
CMYKcmyk(27.2%, 56.4%, 0%, 20.8%)
CIE-LABlab(48.82, 45.94, -50.23)
CIE-LCHlch(48.82, 68.07, 312.44°)
OKLaboklab(57.82% 0.1011 -0.1416)
OKLCHoklch(57.82% 0.174 305.5)
XYZxyz(26.1807, 17.4469, 57.8540)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9358CA #8FCA58
analogous
#5A58CA #9358CA #CA58C8
triadic
#9358CA #CA9358 #58CA93
tetradic
#9358CA #CA5A58 #8FCA58 #58C8CA
square
#9358CA #CA5A58 #8FCA58 #58C8CA
split-complementary
#9358CA #C8CA58 #58CA5A
monochromatic
#55287F #7437AE #9358CA #B186D9 #CFB5E7

Accessibility & contrast

On white

4.68
#9358CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9358CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9358CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9358CA#FFFFFF#000000##FFFFFF
##9358CA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#8A6E89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9358ca;
/* rgb */ color: rgb(147, 88, 202);
/* oklch */ color: oklch(57.8% 0.174 305.5);
Tailwind
colors: {
  custom: {
    50: '#b689db',
    500: '#9358ca',
    950: '#000000',
  },
}
SCSS
$custom: #9358ca;
$custom-light: #b689db;
$custom-dark: #000000;
JSON
{
  "hex": "#9358ca",
  "rgb": {
    "r": 147,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 271.053,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57821,
    "c": 0.17397,
    "h": 305.5
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#9358CA
secondary
#BED6A8
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9358CA

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

Preview Lab → · Contrast checker → · Palette generator →

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