#943397#943397

#943397 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.177 H 326.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#943397
RGBrgb(148, 51, 151)
HSLhsl(298, 50%, 40%)
HSVhsv(298, 66%, 59%)
CMYKcmyk(2%, 66.2%, 0%, 40.8%)
CIE-LABlab(39.41, 53.43, -35.15)
CIE-LCHlch(39.41, 63.95, 326.66°)
OKLaboklab(50.06% 0.1475 -0.0973)
OKLCHoklch(50.06% 0.177 326.6)
XYZxyz(18.9821, 10.8991, 30.3761)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943397 #369733
analogous
#623397 #943397 #973368
triadic
#943397 #979433 #339794
tetradic
#943397 #976233 #369733 #336897
square
#943397 #976233 #369733 #336897
split-complementary
#943397 #689733 #339762
monochromatic
#3A143C #672469 #943397 #BD47C1 #CD74D0

Accessibility & contrast

On white

6.60
#943397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#943397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943397
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943397#FFFFFF#000000##FFFFFF
##9433971.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#984161
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #943397;
/* rgb */ color: rgb(148, 51, 151);
/* oklch */ color: oklch(50.1% 0.177 326.6);
Tailwind
colors: {
  custom: {
    50: '#b673b6',
    500: '#943397',
    950: '#000000',
  },
}
SCSS
$custom: #943397;
$custom-light: #b673b6;
$custom-dark: #000000;
JSON
{
  "hex": "#943397",
  "rgb": {
    "r": 148,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 298.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.17675,
    "h": 326.6
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#943397
secondary
#70B86D
accent
#D94F53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #943397

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

Preview Lab → · Contrast checker → · Palette generator →

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