#98269B#98269B

#98269B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.197 H 326.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#98269B
RGBrgb(152, 38, 155)
HSLhsl(298, 61%, 38%)
HSVhsv(298, 75%, 61%)
CMYKcmyk(1.9%, 75.5%, 0%, 39.2%)
CIE-LABlab(38.60, 59.83, -38.81)
CIE-LCHlch(38.60, 71.32, 327.03°)
OKLaboklab(49.68% 0.1655 -0.1078)
OKLCHoklch(49.68% 0.197 326.9)
XYZxyz(19.5581, 10.4296, 31.9870)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98269B #299B26
analogous
#5E269B #98269B #9B2663
triadic
#98269B #9B9826 #269B98
tetradic
#98269B #9B5E26 #299B26 #26639B
square
#98269B #9B5E26 #299B26 #26639B
split-complementary
#98269B #639B26 #269B5E
monochromatic
#380E39 #681A6A #98269B #C832CC #D663D9

Accessibility & contrast

On white

6.81
#98269B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#98269B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98269B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98269B#FFFFFF#000000##FFFFFF
##98269B1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9C3A5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98269b;
/* rgb */ color: rgb(152, 38, 155);
/* oklch */ color: oklch(49.7% 0.197 326.9);
Tailwind
colors: {
  custom: {
    50: '#ba6db9',
    500: '#98269b',
    950: '#000000',
  },
}
SCSS
$custom: #98269b;
$custom-light: #ba6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#98269b",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 298.462,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.19749,
    "h": 326.9
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#98269B
secondary
#61BE5F
accent
#E44448
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98269B

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

Preview Lab → · Contrast checker → · Palette generator →

#98269B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva