#98229A#98229A

#98229A is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.201 H 327.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#98229A
RGBrgb(152, 34, 154)
HSLhsl(299, 64%, 37%)
HSVhsv(299, 78%, 60%)
CMYKcmyk(1.3%, 77.9%, 0%, 39.6%)
CIE-LABlab(38.12, 60.89, -38.98)
CIE-LCHlch(38.12, 72.30, 327.37°)
OKLaboklab(49.31% 0.169 -0.1082)
OKLCHoklch(49.31% 0.201 327.4)
XYZxyz(19.3534, 10.1540, 31.5062)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98229A #249A22
analogous
#5C229A #98229A #9A2260
triadic
#98229A #9A9822 #229A98
tetradic
#98229A #9A5C22 #249A22 #22609A
square
#98229A #9A5C22 #249A22 #22609A
split-complementary
#98229A #609A22 #229A5C
monochromatic
#350C36 #671768 #98229A #C92DCC #D95BDB

Accessibility & contrast

On white

6.93
#98229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#98229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98229A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98229A#FFFFFF#000000##FFFFFF
##98229A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#435F97
Tritanopia (blue-blind)
#9D375E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98229a;
/* rgb */ color: rgb(152, 34, 154);
/* oklch */ color: oklch(49.3% 0.201 327.4);
Tailwind
colors: {
  custom: {
    50: '#ba6cb8',
    500: '#98229a',
    950: '#000000',
  },
}
SCSS
$custom: #98229a;
$custom-light: #ba6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#98229a",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 299,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49314,
    "c": 0.20067,
    "h": 327.4
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#98229A
secondary
#5ABF58
accent
#E74144
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98229A

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

Preview Lab → · Contrast checker → · Palette generator →

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