#9B268E#9B268E

#9B268E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.189 H 333.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9B268E
RGBrgb(155, 38, 142)
HSLhsl(307, 61%, 38%)
HSVhsv(307, 75%, 61%)
CMYKcmyk(0%, 75.5%, 8.4%, 39.2%)
CIE-LABlab(38.39, 58.38, -31.20)
CIE-LCHlch(38.39, 66.20, 331.88°)
OKLaboklab(49.39% 0.1685 -0.0856)
OKLCHoklch(49.39% 0.189 333.1)
XYZxyz(19.0933, 10.3094, 26.5703)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B268E #269B33
analogous
#6E269B #9B268E #9B2653
triadic
#9B268E #8E9B26 #268E9B
tetradic
#9B268E #9B6E26 #269B33 #26539B
square
#9B268E #9B6E26 #269B33 #26539B
split-complementary
#9B268E #539B26 #269B6E
monochromatic
#390E34 #6A1A61 #9B268E #CC32BB #D963CC

Accessibility & contrast

On white

6.86
#9B268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B268E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B268E#FFFFFF#000000##FFFFFF
##9B268E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#A23258
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b268e;
/* rgb */ color: rgb(155, 38, 142);
/* oklch */ color: oklch(49.4% 0.189 333.1);
Tailwind
colors: {
  custom: {
    50: '#bc6daf',
    500: '#9b268e',
    950: '#000000',
  },
}
SCSS
$custom: #9b268e;
$custom-light: #bc6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b268e",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 306.667,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.18905,
    "h": 333.1
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#9B268E
secondary
#5FBE69
accent
#E45644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B268E

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

Preview Lab → · Contrast checker → · Palette generator →

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