#98229C#98229C

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

Color values

HEX#98229C
RGBrgb(152, 34, 156)
HSLhsl(298, 64%, 37%)
HSVhsv(298, 78%, 61%)
CMYKcmyk(2.6%, 78.2%, 0%, 38.8%)
CIE-LABlab(38.24, 61.23, -40.00)
CIE-LCHlch(38.24, 73.13, 326.84°)
OKLaboklab(49.44% 0.1689 -0.1112)
OKLCHoklch(49.44% 0.202 326.6)
XYZxyz(19.5213, 10.2211, 32.3907)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98229C #269C22
analogous
#5B229C #98229C #9C2263
triadic
#98229C #9C9822 #229C98
tetradic
#98229C #9C5B22 #269C22 #22639C
square
#98229C #9C5B22 #269C22 #22639C
split-complementary
#98229C #639C22 #229C5B
monochromatic
#360C38 #67176A #98229C #C92DCE #D75DDC

Accessibility & contrast

On white

6.90
#98229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#98229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98229C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98229C#FFFFFF#000000##FFFFFF
##98229C1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98229c;
/* rgb */ color: rgb(152, 34, 156);
/* oklch */ color: oklch(49.4% 0.202 326.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cba',
    500: '#98229c',
    950: '#000000',
  },
}
SCSS
$custom: #98229c;
$custom-light: #ba6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#98229c",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 298.033,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.20221,
    "h": 326.6
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#98229C
secondary
#5DC05A
accent
#E74146
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98229C

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

Preview Lab → · Contrast checker → · Palette generator →

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