#943BBB#943BBB

#943BBB is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.199 H 313.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#943BBB
RGBrgb(148, 59, 187)
HSLhsl(282, 52%, 48%)
HSVhsv(282, 68%, 73%)
CMYKcmyk(20.9%, 68.4%, 0%, 26.7%)
CIE-LABlab(42.78, 57.05, -51.20)
CIE-LCHlch(42.78, 76.66, 318.09°)
OKLaboklab(53.18% 0.1376 -0.1443)
OKLCHoklch(53.18% 0.199 313.6)
XYZxyz(22.7448, 13.0124, 48.3176)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943BBB #62BB3B
analogous
#543BBB #943BBB #BB3BA2
triadic
#943BBB #BB943B #3BBB94
tetradic
#943BBB #BB543B #62BB3B #3BA2BB
square
#943BBB #BB543B #62BB3B #3BA2BB
split-complementary
#943BBB #A2BB3B #3BBB54
monochromatic
#4A1E5E #6F2C8C #943BBB #AE65CE #C793DD

Accessibility & contrast

On white

5.83
#943BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#943BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943BBB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943BBB#FFFFFF#000000##FFFFFF
##943BBB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#905576
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #943bbb;
/* rgb */ color: rgb(148, 59, 187);
/* oklch */ color: oklch(53.2% 0.199 313.6);
Tailwind
colors: {
  custom: {
    50: '#b778d0',
    500: '#943bbb',
    950: '#000000',
  },
}
SCSS
$custom: #943bbb;
$custom-light: #b778d0;
$custom-dark: #000000;
JSON
{
  "hex": "#943bbb",
  "rgb": {
    "r": 148,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 281.719,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.19937,
    "h": 313.6
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#943BBB
secondary
#9DC88A
accent
#DB4C78
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #943BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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