#9B238F#9B238F

#9B238F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.193 H 332.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9B238F
RGBrgb(155, 35, 143)
HSLhsl(306, 63%, 37%)
HSVhsv(306, 77%, 61%)
CMYKcmyk(0%, 77.4%, 7.7%, 39.2%)
CIE-LABlab(38.12, 59.47, -32.24)
CIE-LCHlch(38.12, 67.65, 331.54°)
OKLaboklab(49.21% 0.1713 -0.0886)
OKLCHoklch(49.21% 0.193 332.6)
XYZxyz(19.0766, 10.1554, 26.9368)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B238F #239B2F
analogous
#6B239B #9B238F #9B2353
triadic
#9B238F #8F9B23 #238F9B
tetradic
#9B238F #9B6B23 #239B2F #23539B
square
#9B238F #9B6B23 #239B2F #23539B
split-complementary
#9B238F #539B23 #239B6B
monochromatic
#370C33 #691861 #9B238F #CD2EBD #DB5ECE

Accessibility & contrast

On white

6.93
#9B238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B238F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B238F#FFFFFF#000000##FFFFFF
##9B238F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A23158
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b238f;
/* rgb */ color: rgb(155, 35, 143);
/* oklch */ color: oklch(49.2% 0.193 332.6);
Tailwind
colors: {
  custom: {
    50: '#bc6cb0',
    500: '#9b238f',
    950: '#000000',
  },
}
SCSS
$custom: #9b238f;
$custom-light: #bc6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b238f",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 306,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49214,
    "c": 0.19288,
    "h": 332.6
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#9B238F
secondary
#5ABF65
accent
#E65242
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B238F

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

Preview Lab → · Contrast checker → · Palette generator →

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