#98269C#98269C

#98269C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.198 H 326.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#98269C
RGBrgb(152, 38, 156)
HSLhsl(298, 61%, 38%)
HSVhsv(298, 76%, 61%)
CMYKcmyk(2.6%, 75.6%, 0%, 38.8%)
CIE-LABlab(38.66, 60.00, -39.32)
CIE-LCHlch(38.66, 71.74, 326.76°)
OKLaboklab(49.74% 0.1655 -0.1093)
OKLCHoklch(49.74% 0.198 326.6)
XYZxyz(19.6424, 10.4633, 32.4311)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98269C #2A9C26
analogous
#5D269C #98269C #9C2665
triadic
#98269C #9C9826 #269C98
tetradic
#98269C #9C5D26 #2A9C26 #26659C
square
#98269C #9C5D26 #2A9C26 #26659C
split-complementary
#98269C #659C26 #269C5D
monochromatic
#380E3A #681A6B #98269C #C832CD #D563D9

Accessibility & contrast

On white

6.79
#98269C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#98269C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98269C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98269C#FFFFFF#000000##FFFFFF
##98269C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9C3A60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98269c;
/* rgb */ color: rgb(152, 38, 156);
/* oklch */ color: oklch(49.7% 0.198 326.6);
Tailwind
colors: {
  custom: {
    50: '#ba6dba',
    500: '#98269c',
    950: '#000000',
  },
}
SCSS
$custom: #98269c;
$custom-light: #ba6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#98269c",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 297.966,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.19829,
    "h": 326.6
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#98269C
secondary
#62BF5F
accent
#E44449
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98269C

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

Preview Lab → · Contrast checker → · Palette generator →

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