#943EA1#943EA1

#943EA1 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.9% C 0.170 H 322.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#943EA1
RGBrgb(148, 62, 161)
HSLhsl(292, 44%, 44%)
HSVhsv(292, 61%, 63%)
CMYKcmyk(8.1%, 61.5%, 0%, 36.9%)
CIE-LABlab(41.71, 50.44, -37.52)
CIE-LCHlch(41.71, 62.87, 323.36°)
OKLaboklab(51.9% 0.1346 -0.1043)
OKLCHoklch(51.9% 0.17 322.2)
XYZxyz(20.3677, 12.3154, 35.0156)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943EA1 #4BA13E
analogous
#623EA1 #943EA1 #A13E7C
triadic
#943EA1 #A1943E #3EA194
tetradic
#943EA1 #A1623E #4BA13E #3E7CA1
square
#943EA1 #A1623E #4BA13E #3E7CA1
split-complementary
#943EA1 #7CA13E #3EA162
monochromatic
#431C49 #6B2D75 #943EA1 #B35CC0 #C888D1

Accessibility & contrast

On white

6.06
#943EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#943EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943EA1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943EA1#FFFFFF#000000##FFFFFF
##943EA11.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA4
Deuteranopia (green-blind)
#4A669E
Tritanopia (blue-blind)
#964D6A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #943ea1;
/* rgb */ color: rgb(148, 62, 161);
/* oklch */ color: oklch(51.9% 0.170 322.2);
Tailwind
colors: {
  custom: {
    50: '#b679bd',
    500: '#943ea1',
    950: '#000000',
  },
}
SCSS
$custom: #943ea1;
$custom-light: #b679bd;
$custom-dark: #000000;
JSON
{
  "hex": "#943ea1",
  "rgb": {
    "r": 148,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 292.121,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.17026,
    "h": 322.2
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#943EA1
secondary
#87BC7F
accent
#D45465
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #943EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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