#943BB2#943BB2

#943BB2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.191 H 316.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#943BB2
RGBrgb(148, 59, 178)
HSLhsl(285, 50%, 46%)
HSVhsv(285, 67%, 70%)
CMYKcmyk(16.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(42.21, 55.19, -46.82)
CIE-LCHlch(42.21, 72.38, 319.69°)
OKLaboklab(52.59% 0.1382 -0.1314)
OKLCHoklch(52.59% 0.191 316.4)
XYZxyz(21.8114, 12.6390, 43.4015)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BB2 #59B23B
analogous
#593BB2 #943BB2 #B23B95
triadic
#943BB2 #B2943B #3BB294
tetradic
#943BB2 #B2593B #59B23B #3B95B2
square
#943BB2 #B2593B #59B23B #3B95B2
split-complementary
#943BB2 #95B23B #3BB259
monochromatic
#481D56 #6E2C84 #943BB2 #AF60CA #C68EDA

Accessibility & contrast

On white

5.95
#943BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#943BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BB2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BB2#FFFFFF#000000##FFFFFF
##943BB21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#925172
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #943bb2;
/* rgb */ color: rgb(148, 59, 178);
/* oklch */ color: oklch(52.6% 0.191 316.4);
Tailwind
colors: {
  custom: {
    50: '#b778ca',
    500: '#943bb2',
    950: '#000000',
  },
}
SCSS
$custom: #943bb2;
$custom-light: #b778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#943bb2",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 284.874,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.1907,
    "h": 316.4
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#943BB2
secondary
#95C485
accent
#DA4E71
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #943BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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