#9B299F#9B299F

#9B299F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.199 H 326.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9B299F
RGBrgb(155, 41, 159)
HSLhsl(298, 59%, 39%)
HSVhsv(298, 74%, 62%)
CMYKcmyk(2.5%, 74.2%, 0%, 37.6%)
CIE-LABlab(39.68, 60.19, -39.48)
CIE-LCHlch(39.68, 71.98, 326.74°)
OKLaboklab(50.62% 0.166 -0.1097)
OKLCHoklch(50.62% 0.199 326.5)
XYZxyz(20.5681, 11.0591, 33.8454)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B299F #2D9F29
analogous
#60299F #9B299F #9F2968
triadic
#9B299F #9F9B29 #299F9B
tetradic
#9B299F #9F6029 #2D9F29 #29689F
square
#9B299F #9F6029 #2D9F29 #29689F
split-complementary
#9B299F #689F29 #299F60
monochromatic
#3C103E #6C1C6E #9B299F #C739CC #D56AD9

Accessibility & contrast

On white

6.54
#9B299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B299F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B299F#FFFFFF#000000##FFFFFF
##9B299F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A2
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#9F3D62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b299f;
/* rgb */ color: rgb(155, 41, 159);
/* oklch */ color: oklch(50.6% 0.199 326.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fbc',
    500: '#9b299f',
    950: '#000000',
  },
}
SCSS
$custom: #9b299f;
$custom-light: #bc6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b299f",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 297.966,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.19893,
    "h": 326.5
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#9B299F
secondary
#68BF65
accent
#E2464B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B299F

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

Preview Lab → · Contrast checker → · Palette generator →

#9B299F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva