#98268B#98268B

#98268B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.185 H 333.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#98268B
RGBrgb(152, 38, 139)
HSLhsl(307, 60%, 37%)
HSVhsv(307, 75%, 60%)
CMYKcmyk(0%, 75%, 8.6%, 40.4%)
CIE-LABlab(37.71, 57.21, -30.47)
CIE-LCHlch(37.71, 64.82, 331.96°)
OKLaboklab(48.75% 0.1653 -0.0836)
OKLCHoklch(48.75% 0.185 333.2)
XYZxyz(18.3023, 9.9273, 25.3733)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98268B #269833
analogous
#6C2698 #98268B #982652
triadic
#98268B #8B9826 #268B98
tetradic
#98268B #986C26 #269833 #265298
square
#98268B #986C26 #269833 #265298
split-complementary
#98268B #529826 #26986C
monochromatic
#360E31 #671A5E #98268B #C932B8 #D761CA

Accessibility & contrast

On white

7.03
#98268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#98268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98268B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98268B#FFFFFF#000000##FFFFFF
##98268B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#4C5F88
Tritanopia (blue-blind)
#9F3256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98268b;
/* rgb */ color: rgb(152, 38, 139);
/* oklch */ color: oklch(48.8% 0.185 333.2);
Tailwind
colors: {
  custom: {
    50: '#ba6dad',
    500: '#98268b',
    950: '#000000',
  },
}
SCSS
$custom: #98268b;
$custom-light: #ba6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#98268b",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 306.842,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.1852,
    "h": 333.2
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#98268B
secondary
#5DBD68
accent
#E35745
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98268B

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

Preview Lab → · Contrast checker → · Palette generator →

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