#9941B2#9941B2

#9941B2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.9% C 0.185 H 318.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9941B2
RGBrgb(153, 65, 178)
HSLhsl(287, 47%, 48%)
HSVhsv(287, 63%, 70%)
CMYKcmyk(14%, 63.5%, 0%, 30.2%)
CIE-LABlab(43.90, 53.67, -44.09)
CIE-LCHlch(43.90, 69.46, 320.60°)
OKLaboklab(53.95% 0.1373 -0.1233)
OKLCHoklch(53.95% 0.185 318.1)
XYZxyz(23.0619, 13.7682, 43.5536)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9941B2 #5AB241
analogous
#6141B2 #9941B2 #B24192
triadic
#9941B2 #B29941 #41B299
tetradic
#9941B2 #B26141 #5AB241 #4192B2
square
#9941B2 #B26141 #5AB241 #4192B2
split-complementary
#9941B2 #92B241 #41B261
monochromatic
#4C2058 #723185 #9941B2 #B368C8 #C995D8

Accessibility & contrast

On white

5.59
#9941B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9941B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9941B2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9941B2#FFFFFF#000000##FFFFFF
##9941B21.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#995574
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9941b2;
/* rgb */ color: rgb(153, 65, 178);
/* oklch */ color: oklch(53.9% 0.185 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba7bc9',
    500: '#9941b2',
    950: '#000000',
  },
}
SCSS
$custom: #9941b2;
$custom-light: #ba7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9941b2",
  "rgb": {
    "r": 153,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 286.726,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.18458,
    "h": 318.1
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#9941B2
secondary
#98C48B
accent
#D6526F
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9941B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9941B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva