#943EA8#943EA8

#943EA8 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.3% C 0.177 H 319.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#943EA8
RGBrgb(148, 62, 168)
HSLhsl(289, 46%, 45%)
HSVhsv(289, 63%, 66%)
CMYKcmyk(11.9%, 63.1%, 0%, 34.1%)
CIE-LABlab(42.11, 51.82, -41.07)
CIE-LCHlch(42.11, 66.12, 321.60°)
OKLaboklab(52.32% 0.1348 -0.1146)
OKLCHoklch(52.32% 0.177 319.6)
XYZxyz(21.0024, 12.5693, 38.3580)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943EA8 #52A83E
analogous
#5F3EA8 #943EA8 #A83E87
triadic
#943EA8 #A8943E #3EA894
tetradic
#943EA8 #A85F3E #52A83E #3E87A8
square
#943EA8 #A85F3E #52A83E #3E87A8
split-complementary
#943EA8 #87A83E #3EA85F
monochromatic
#451D4F #6D2E7B #943EA8 #B15FC4 #C78CD5

Accessibility & contrast

On white

5.98
#943EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#943EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943EA8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943EA8#FFFFFF#000000##FFFFFF
##943EA81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAB
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#94506D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #943ea8;
/* rgb */ color: rgb(148, 62, 168);
/* oklch */ color: oklch(52.3% 0.177 319.6);
Tailwind
colors: {
  custom: {
    50: '#b679c2',
    500: '#943ea8',
    950: '#000000',
  },
}
SCSS
$custom: #943ea8;
$custom-light: #b679c2;
$custom-dark: #000000;
JSON
{
  "hex": "#943ea8",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 288.679,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.17694,
    "h": 319.6
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#943EA8
secondary
#8EBF83
accent
#D6526B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120912
muted
#817B81

Preview Lab

Preview with #943EA8

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

Preview Lab → · Contrast checker → · Palette generator →

#943EA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva