#98238F#98238F

#98238F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.191 H 331.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#98238F
RGBrgb(152, 35, 143)
HSLhsl(305, 63%, 37%)
HSVhsv(305, 77%, 60%)
CMYKcmyk(0%, 77%, 5.9%, 40.4%)
CIE-LABlab(37.59, 58.80, -33.11)
CIE-LCHlch(37.59, 67.48, 330.62°)
OKLaboklab(48.74% 0.1682 -0.0912)
OKLCHoklch(48.74% 0.191 331.5)
XYZxyz(18.5079, 9.8622, 26.9101)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98238F #23982C
analogous
#672398 #98238F #982355
triadic
#98238F #8F9823 #238F98
tetradic
#98238F #986723 #23982C #235598
square
#98238F #986723 #23982C #235598
split-complementary
#98238F #559823 #239867
monochromatic
#350C31 #661860 #98238F #CA2EBE #D95CD0

Accessibility & contrast

On white

7.07
#98238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#98238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98238F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98238F#FFFFFF#000000##FFFFFF
##98238F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#9E3258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98238f;
/* rgb */ color: rgb(152, 35, 143);
/* oklch */ color: oklch(48.7% 0.191 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cb0',
    500: '#98238f',
    950: '#000000',
  },
}
SCSS
$custom: #98238f;
$custom-light: #ba6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#98238f",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 304.615,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.19133,
    "h": 331.5
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#98238F
secondary
#59BE61
accent
#E64F42
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #98238F

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

Preview Lab → · Contrast checker → · Palette generator →

#98238F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva