#98268D#98268D

#98268D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 332.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#98268D
RGBrgb(152, 38, 141)
HSLhsl(306, 60%, 37%)
HSVhsv(306, 75%, 60%)
CMYKcmyk(0%, 75%, 7.2%, 40.4%)
CIE-LABlab(37.82, 57.53, -31.53)
CIE-LCHlch(37.82, 65.60, 331.28°)
OKLaboklab(48.86% 0.1654 -0.0867)
OKLCHoklch(48.86% 0.187 332.3)
XYZxyz(18.4498, 9.9862, 26.1500)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98268D #269831
analogous
#6A2698 #98268D #982654
triadic
#98268D #8D9826 #268D98
tetradic
#98268D #986A26 #269831 #265498
square
#98268D #986A26 #269831 #265498
split-complementary
#98268D #549826 #26986A
monochromatic
#360E32 #671A60 #98268D #C932BA #D761CC

Accessibility & contrast

On white

7.01
#98268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#98268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98268D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98268D#FFFFFF#000000##FFFFFF
##98268D1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#4B5F8A
Tritanopia (blue-blind)
#9F3357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98268d;
/* rgb */ color: rgb(152, 38, 141);
/* oklch */ color: oklch(48.9% 0.187 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba6daf',
    500: '#98268d',
    950: '#000000',
  },
}
SCSS
$custom: #98268d;
$custom-light: #ba6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#98268d",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 305.789,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48863,
    "c": 0.18668,
    "h": 332.3
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#98268D
secondary
#5DBD66
accent
#E35445
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98268D

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

Preview Lab → · Contrast checker → · Palette generator →

#98268D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva