#9B268D#9B268D

#9B268D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.188 H 333.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9B268D
RGBrgb(155, 38, 141)
HSLhsl(307, 61%, 38%)
HSVhsv(307, 75%, 61%)
CMYKcmyk(0%, 75.5%, 9%, 39.2%)
CIE-LABlab(38.34, 58.23, -30.67)
CIE-LCHlch(38.34, 65.81, 332.22°)
OKLaboklab(49.34% 0.1685 -0.0841)
OKLCHoklch(49.34% 0.188 333.5)
XYZxyz(19.0185, 10.2795, 26.1766)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B268D #269B34
analogous
#6E269B #9B268D #9B2653
triadic
#9B268D #8D9B26 #268D9B
tetradic
#9B268D #9B6E26 #269B34 #26539B
square
#9B268D #9B6E26 #269B34 #26539B
split-complementary
#9B268D #539B26 #269B6E
monochromatic
#390E34 #6A1A60 #9B268D #CC32BA #D963CB

Accessibility & contrast

On white

6.87
#9B268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B268D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B268D#FFFFFF#000000##FFFFFF
##9B268D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A23257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b268d;
/* rgb */ color: rgb(155, 38, 141);
/* oklch */ color: oklch(49.3% 0.188 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc6dae',
    500: '#9b268d',
    950: '#000000',
  },
}
SCSS
$custom: #9b268d;
$custom-light: #bc6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b268d",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 307.179,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.18831,
    "h": 333.5
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#9B268D
secondary
#5FBE6A
accent
#E45744
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B268D

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

Preview Lab → · Contrast checker → · Palette generator →

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