#98268C#98268C

#98268C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.186 H 332.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#98268C
RGBrgb(152, 38, 140)
HSLhsl(306, 60%, 37%)
HSVhsv(306, 75%, 60%)
CMYKcmyk(0%, 75%, 7.9%, 40.4%)
CIE-LABlab(37.76, 57.37, -31.00)
CIE-LCHlch(37.76, 65.21, 331.62°)
OKLaboklab(48.81% 0.1653 -0.0851)
OKLCHoklch(48.81% 0.186 332.7)
XYZxyz(18.3757, 9.9566, 25.7599)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98268C #269832
analogous
#6B2698 #98268C #982653
triadic
#98268C #8C9826 #268C98
tetradic
#98268C #986B26 #269832 #265398
square
#98268C #986B26 #269832 #265398
split-complementary
#98268C #539826 #26986B
monochromatic
#360E32 #671A5F #98268C #C932B9 #D761CB

Accessibility & contrast

On white

7.02
#98268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98268C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98268C#FFFFFF#000000##FFFFFF
##98268C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F8F
Deuteranopia (green-blind)
#4C5F89
Tritanopia (blue-blind)
#9F3257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98268c;
/* rgb */ color: rgb(152, 38, 140);
/* oklch */ color: oklch(48.8% 0.186 332.7);
Tailwind
colors: {
  custom: {
    50: '#ba6dae',
    500: '#98268c',
    950: '#000000',
  },
}
SCSS
$custom: #98268c;
$custom-light: #ba6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#98268c",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 306.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.18594,
    "h": 332.7
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#98268C
secondary
#5DBD67
accent
#E35545
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98268C

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

Preview Lab → · Contrast checker → · Palette generator →

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