#98268F#98268F

#98268F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.188 H 331.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#98268F
RGBrgb(152, 38, 143)
HSLhsl(305, 60%, 37%)
HSVhsv(305, 75%, 60%)
CMYKcmyk(0%, 75%, 5.9%, 40.4%)
CIE-LABlab(37.93, 57.85, -32.58)
CIE-LCHlch(37.93, 66.40, 330.61°)
OKLaboklab(48.98% 0.1654 -0.0897)
OKLCHoklch(48.98% 0.188 331.5)
XYZxyz(18.5999, 10.0463, 26.9408)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98268F #26982F
analogous
#682698 #98268F #982656
triadic
#98268F #8F9826 #268F98
tetradic
#98268F #986826 #26982F #265698
square
#98268F #986826 #26982F #265698
split-complementary
#98268F #569826 #269868
monochromatic
#360E33 #671A61 #98268F #C932BD #D761CE

Accessibility & contrast

On white

6.98
#98268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#98268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98268F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98268F#FFFFFF#000000##FFFFFF
##98268F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#4A5F8C
Tritanopia (blue-blind)
#9E3458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98268f;
/* rgb */ color: rgb(152, 38, 143);
/* oklch */ color: oklch(49.0% 0.188 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba6db0',
    500: '#98268f',
    950: '#000000',
  },
}
SCSS
$custom: #98268f;
$custom-light: #ba6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#98268f",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 304.737,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.1882,
    "h": 331.5
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

primary
#98268F
secondary
#5DBD65
accent
#E35145
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #98268F

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

Preview Lab → · Contrast checker → · Palette generator →

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