#98238A#98238A

#98238A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.188 H 333.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#98238A
RGBrgb(152, 35, 138)
HSLhsl(307, 63%, 37%)
HSVhsv(307, 77%, 60%)
CMYKcmyk(0%, 77%, 9.2%, 40.4%)
CIE-LABlab(37.32, 58.02, -30.46)
CIE-LCHlch(37.32, 65.53, 332.30°)
OKLaboklab(48.46% 0.168 -0.0836)
OKLCHoklch(48.46% 0.188 333.6)
XYZxyz(18.1375, 9.7140, 24.9596)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98238A #239831
analogous
#6C2398 #98238A #982350
triadic
#98238A #8A9823 #238A98
tetradic
#98238A #986C23 #239831 #235098
square
#98238A #986C23 #239831 #235098
split-complementary
#98238A #509823 #23986C
monochromatic
#350C30 #66185D #98238A #CA2EB7 #D95CCA

Accessibility & contrast

On white

7.14
#98238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#98238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98238A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98238A#FFFFFF#000000##FFFFFF
##98238A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#9F2F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98238a;
/* rgb */ color: rgb(152, 35, 138);
/* oklch */ color: oklch(48.5% 0.188 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6bac',
    500: '#98238a',
    950: '#000000',
  },
}
SCSS
$custom: #98238a;
$custom-light: #ba6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#98238a",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 307.179,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.18764,
    "h": 333.6
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#98238A
secondary
#59BE65
accent
#E65642
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98238A

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

Preview Lab → · Contrast checker → · Palette generator →

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