#9B259D#9B259D

#9B259D is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.201 H 327.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B259D
RGBrgb(155, 37, 157)
HSLhsl(299, 62%, 38%)
HSVhsv(299, 76%, 62%)
CMYKcmyk(1.3%, 76.4%, 0%, 38.4%)
CIE-LABlab(39.12, 61.12, -39.17)
CIE-LCHlch(39.12, 72.60, 327.35°)
OKLaboklab(50.18% 0.1696 -0.1087)
OKLCHoklch(50.18% 0.201 327.3)
XYZxyz(20.2646, 10.7275, 32.8950)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B259D #279D25
analogous
#5F259D #9B259D #9D2563
triadic
#9B259D #9D9B25 #259D9B
tetradic
#9B259D #9D5F25 #279D25 #25639D
square
#9B259D #9D5F25 #279D25 #25639D
split-complementary
#9B259D #639D25 #259D5F
monochromatic
#390E3A #6A196B #9B259D #CC31CE #D862DA

Accessibility & contrast

On white

6.68
#9B259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B259D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B259D#FFFFFF#000000##FFFFFF
##9B259D1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A03960
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b259d;
/* rgb */ color: rgb(155, 37, 157);
/* oklch */ color: oklch(50.2% 0.201 327.3);
Tailwind
colors: {
  custom: {
    50: '#bc6dba',
    500: '#9b259d',
    950: '#000000',
  },
}
SCSS
$custom: #9b259d;
$custom-light: #bc6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b259d",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 299,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50181,
    "c": 0.20147,
    "h": 327.3
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#9B259D
secondary
#60BF5E
accent
#E54346
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B259D

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

Preview Lab → · Contrast checker → · Palette generator →

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