#98269D#98269D

#98269D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 326.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#98269D
RGBrgb(152, 38, 157)
HSLhsl(297, 61%, 38%)
HSVhsv(297, 76%, 62%)
CMYKcmyk(3.2%, 75.8%, 0%, 38.4%)
CIE-LABlab(38.72, 60.17, -39.83)
CIE-LCHlch(38.72, 72.16, 326.50°)
OKLaboklab(49.8% 0.1654 -0.1107)
OKLCHoklch(49.8% 0.199 326.2)
XYZxyz(19.7274, 10.4973, 32.8789)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98269D #2B9D26
analogous
#5C269D #98269D #9D2666
triadic
#98269D #9D9826 #269D98
tetradic
#98269D #9D5C26 #2B9D26 #26669D
square
#98269D #9D5C26 #2B9D26 #26669D
split-complementary
#98269D #669D26 #269D5C
monochromatic
#390E3A #681A6C #98269D #C733CE #D564D9

Accessibility & contrast

On white

6.78
#98269D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#98269D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98269D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98269D#FFFFFF#000000##FFFFFF
##98269D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#9C3B60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98269d;
/* rgb */ color: rgb(152, 38, 157);
/* oklch */ color: oklch(49.8% 0.199 326.2);
Tailwind
colors: {
  custom: {
    50: '#ba6dba',
    500: '#98269d',
    950: '#000000',
  },
}
SCSS
$custom: #98269d;
$custom-light: #ba6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#98269d",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 297.479,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.19907,
    "h": 326.2
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#98269D
secondary
#64BF60
accent
#E4444A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98269D

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

Preview Lab → · Contrast checker → · Palette generator →

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