#98219C#98219C

#98219C is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.203 H 326.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#98219C
RGBrgb(152, 33, 156)
HSLhsl(298, 65%, 37%)
HSVhsv(298, 79%, 61%)
CMYKcmyk(2.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(38.14, 61.51, -40.16)
CIE-LCHlch(38.14, 73.46, 326.86°)
OKLaboklab(49.37% 0.1697 -0.1117)
OKLCHoklch(49.37% 0.203 326.7)
XYZxyz(19.4932, 10.1648, 32.3813)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98219C #259C21
analogous
#5B219C #98219C #9C2162
triadic
#98219C #9C9821 #219C98
tetradic
#98219C #9C5B21 #259C21 #21629C
square
#98219C #9C5B21 #259C21 #21629C
split-complementary
#98219C #629C21 #219C5B
monochromatic
#360C37 #671669 #98219C #C92CCF #D85BDC

Accessibility & contrast

On white

6.92
#98219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#98219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98219C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98219C#FFFFFF#000000##FFFFFF
##98219C1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#415F99
Tritanopia (blue-blind)
#9C375E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98219c;
/* rgb */ color: rgb(152, 33, 156);
/* oklch */ color: oklch(49.4% 0.203 326.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cba',
    500: '#98219c',
    950: '#000000',
  },
}
SCSS
$custom: #98219c;
$custom-light: #ba6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#98219c",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 298.049,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.20314,
    "h": 326.7
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#98219C
secondary
#5CC158
accent
#E84045
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98219C

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

Preview Lab → · Contrast checker → · Palette generator →

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