#9338C8#9338C8

#9338C8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.215 H 309.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9338C8
RGBrgb(147, 56, 200)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 72%, 78%)
CMYKcmyk(26.5%, 72%, 0%, 21.6%)
CIE-LABlab(43.07, 60.86, -58.33)
CIE-LCHlch(43.07, 84.30, 316.22°)
OKLaboklab(53.63% 0.1379 -0.1652)
OKLCHoklch(53.63% 0.215 309.9)
XYZxyz(23.8701, 13.2020, 55.9232)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9338C8 #6DC838
analogous
#4B38C8 #9338C8 #C838B5
triadic
#9338C8 #C89338 #38C893
tetradic
#9338C8 #C84B38 #6DC838 #38B5C8
square
#9338C8 #C84B38 #6DC838 #38B5C8
split-complementary
#9338C8 #B5C838 #38C84B
monochromatic
#4D1D69 #702A99 #9338C8 #AD68D5 #C798E3

Accessibility & contrast

On white

5.77
#9338C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9338C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9338C8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9338C8#FFFFFF#000000##FFFFFF
##9338C81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#1967C5
Tritanopia (blue-blind)
#8B597D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9338c8;
/* rgb */ color: rgb(147, 56, 200);
/* oklch */ color: oklch(53.6% 0.215 309.9);
Tailwind
colors: {
  custom: {
    50: '#b777da',
    500: '#9338c8',
    950: '#000000',
  },
}
SCSS
$custom: #9338c8;
$custom-light: #b777da;
$custom-dark: #000000;
JSON
{
  "hex": "#9338c8",
  "rgb": {
    "r": 147,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 277.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.21521,
    "h": 309.9
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#9338C8
secondary
#A5CE8E
accent
#E04880
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9338C8

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

Preview Lab → · Contrast checker → · Palette generator →

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