#9338C2#9338C2

#9338C2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.209 H 311.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9338C2
RGBrgb(147, 56, 194)
HSLhsl(280, 55%, 49%)
HSVhsv(280, 71%, 76%)
CMYKcmyk(24.2%, 71.1%, 0%, 23.9%)
CIE-LABlab(42.65, 59.59, -55.51)
CIE-LCHlch(42.65, 81.43, 317.03°)
OKLaboklab(53.2% 0.1387 -0.1569)
OKLCHoklch(53.2% 0.209 311.5)
XYZxyz(23.1826, 12.9270, 52.3024)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338C2 #67C238
analogous
#4E38C2 #9338C2 #C238AC
triadic
#9338C2 #C29338 #38C293
tetradic
#9338C2 #C24E38 #67C238 #38ACC2
square
#9338C2 #C24E38 #67C238 #38ACC2
split-complementary
#9338C2 #ACC238 #38C24E
monochromatic
#4B1D63 #6F2A93 #9338C2 #AD65D2 #C694E0

Accessibility & contrast

On white

5.86
#9338C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9338C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338C2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338C2#FFFFFF#000000##FFFFFF
##9338C21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#8D5679
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9338c2;
/* rgb */ color: rgb(147, 56, 194);
/* oklch */ color: oklch(53.2% 0.209 311.5);
Tailwind
colors: {
  custom: {
    50: '#b777d5',
    500: '#9338c2',
    950: '#000000',
  },
}
SCSS
$custom: #9338c2;
$custom-light: #b777d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9338c2",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 279.565,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.20946,
    "h": 311.5
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#9338C2
secondary
#A1CB8A
accent
#DF497C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9338C2

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

Preview Lab → · Contrast checker → · Palette generator →

#9338C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva