#943399#943399

#943399 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.178 H 325.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#943399
RGBrgb(148, 51, 153)
HSLhsl(297, 50%, 40%)
HSVhsv(297, 67%, 60%)
CMYKcmyk(3.3%, 66.7%, 0%, 40%)
CIE-LABlab(39.52, 53.79, -36.18)
CIE-LCHlch(39.52, 64.82, 326.07°)
OKLaboklab(50.17% 0.1476 -0.1003)
OKLCHoklch(50.17% 0.178 325.8)
XYZxyz(19.1459, 10.9647, 31.2388)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943399 #389933
analogous
#613399 #943399 #99336B
triadic
#943399 #999433 #339994
tetradic
#943399 #996133 #389933 #336B99
square
#943399 #996133 #389933 #336B99
split-complementary
#943399 #6B9933 #339961
monochromatic
#3B143D #68246B #943399 #BC47C2 #CD75D1

Accessibility & contrast

On white

6.58
#943399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#943399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943399
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943399#FFFFFF#000000##FFFFFF
##9433991.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#984262
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #943399;
/* rgb */ color: rgb(148, 51, 153);
/* oklch */ color: oklch(50.2% 0.178 325.8);
Tailwind
colors: {
  custom: {
    50: '#b673b7',
    500: '#943399',
    950: '#000000',
  },
}
SCSS
$custom: #943399;
$custom-light: #b673b7;
$custom-dark: #000000;
JSON
{
  "hex": "#943399",
  "rgb": {
    "r": 148,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 297.059,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.17848,
    "h": 325.8
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#943399
secondary
#72B96E
accent
#DA4E55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #943399

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

Preview Lab → · Contrast checker → · Palette generator →

#943399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva