#943FA2#943FA2

#943FA2 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.1% C 0.170 H 321.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#943FA2
RGBrgb(148, 63, 162)
HSLhsl(292, 44%, 44%)
HSVhsv(292, 61%, 64%)
CMYKcmyk(8.6%, 61.1%, 0%, 36.5%)
CIE-LABlab(41.94, 50.17, -37.76)
CIE-LCHlch(41.94, 62.79, 323.03°)
OKLaboklab(52.09% 0.1333 -0.105)
OKLCHoklch(52.09% 0.17 321.8)
XYZxyz(20.5111, 12.4606, 35.5001)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FA2 #4DA23F
analogous
#633FA2 #943FA2 #A23F7F
triadic
#943FA2 #A2943F #3FA294
tetradic
#943FA2 #A2633F #4DA23F #3F7FA2
square
#943FA2 #A2633F #4DA23F #3F7FA2
split-complementary
#943FA2 #7FA23F #3FA263
monochromatic
#431D4A #6C2E76 #943FA2 #B25EC0 #C78AD1

Accessibility & contrast

On white

6.01
#943FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#943FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FA2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FA2#FFFFFF#000000##FFFFFF
##943FA21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#964E6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #943fa2;
/* rgb */ color: rgb(148, 63, 162);
/* oklch */ color: oklch(52.1% 0.170 321.8);
Tailwind
colors: {
  custom: {
    50: '#b679be',
    500: '#943fa2',
    950: '#000000',
  },
}
SCSS
$custom: #943fa2;
$custom-light: #b679be;
$custom-dark: #000000;
JSON
{
  "hex": "#943fa2",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 291.515,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.16972,
    "h": 321.8
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#943FA2
secondary
#89BC81
accent
#D45466
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #943FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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