#943AAF#943AAF

#943AAF is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.189 H 317.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#943AAF
RGBrgb(148, 58, 175)
HSLhsl(286, 50%, 46%)
HSVhsv(286, 67%, 69%)
CMYKcmyk(15.4%, 66.9%, 0%, 31.4%)
CIE-LABlab(41.87, 55.02, -45.59)
CIE-LCHlch(41.87, 71.46, 320.35°)
OKLaboklab(52.28% 0.1394 -0.1278)
OKLCHoklch(52.28% 0.189 317.5)
XYZxyz(21.4626, 12.4180, 41.8155)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943AAF #55AF3A
analogous
#593AAF #943AAF #AF3A8F
triadic
#943AAF #AF943A #3AAF94
tetradic
#943AAF #AF593A #55AF3A #3A8FAF
square
#943AAF #AF593A #55AF3A #3A8FAF
split-complementary
#943AAF #8FAF3A #3AAF59
monochromatic
#461C53 #6D2B81 #943AAF #B05DC9 #C78BD9

Accessibility & contrast

On white

6.03
#943AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#943AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943AAF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943AAF#FFFFFF#000000##FFFFFF
##943AAF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065DB2
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#935070
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #943aaf;
/* rgb */ color: rgb(148, 58, 175);
/* oklch */ color: oklch(52.3% 0.189 317.5);
Tailwind
colors: {
  custom: {
    50: '#b777c7',
    500: '#943aaf',
    950: '#000000',
  },
}
SCSS
$custom: #943aaf;
$custom-light: #b777c7;
$custom-dark: #000000;
JSON
{
  "hex": "#943aaf",
  "rgb": {
    "r": 148,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 286.154,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.18917,
    "h": 317.5
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#943AAF
secondary
#91C382
accent
#DA4E6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #943AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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