#98268A#98268A

#98268A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.184 H 333.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#98268A
RGBrgb(152, 38, 138)
HSLhsl(307, 60%, 37%)
HSVhsv(307, 75%, 60%)
CMYKcmyk(0%, 75%, 9.2%, 40.4%)
CIE-LABlab(37.66, 57.06, -29.94)
CIE-LCHlch(37.66, 64.43, 332.32°)
OKLaboklab(48.7% 0.1652 -0.0821)
OKLCHoklch(48.7% 0.184 333.6)
XYZxyz(18.2296, 9.8982, 24.9903)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98268A #269834
analogous
#6D2698 #98268A #982651
triadic
#98268A #8A9826 #268A98
tetradic
#98268A #986D26 #269834 #265198
square
#98268A #986D26 #269834 #265198
split-complementary
#98268A #519826 #26986D
monochromatic
#360E31 #671A5E #98268A #C932B6 #D761C9

Accessibility & contrast

On white

7.05
#98268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#98268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98268A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98268A#FFFFFF#000000##FFFFFF
##98268A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#9F3156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98268a;
/* rgb */ color: rgb(152, 38, 138);
/* oklch */ color: oklch(48.7% 0.184 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6dac',
    500: '#98268a',
    950: '#000000',
  },
}
SCSS
$custom: #98268a;
$custom-light: #ba6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#98268a",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 307.368,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48698,
    "c": 0.18446,
    "h": 333.6
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#98268A
secondary
#5DBD69
accent
#E35845
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98268A

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

Preview Lab → · Contrast checker → · Palette generator →

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