#98238D#98238D

#98238D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.190 H 332.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#98238D
RGBrgb(152, 35, 141)
HSLhsl(306, 63%, 37%)
HSVhsv(306, 77%, 60%)
CMYKcmyk(0%, 77%, 7.2%, 40.4%)
CIE-LABlab(37.48, 58.48, -32.05)
CIE-LCHlch(37.48, 66.69, 331.27°)
OKLaboklab(48.63% 0.1681 -0.0882)
OKLCHoklch(48.63% 0.19 332.3)
XYZxyz(18.3577, 9.8021, 26.1193)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98238D #23982E
analogous
#692398 #98238D #982353
triadic
#98238D #8D9823 #238D98
tetradic
#98238D #986923 #23982E #235398
square
#98238D #986923 #23982E #235398
split-complementary
#98238D #539823 #239869
monochromatic
#350C31 #66185F #98238D #CA2EBB #D95CCE

Accessibility & contrast

On white

7.09
#98238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#98238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98238D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98238D#FFFFFF#000000##FFFFFF
##98238D1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#9F3156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98238d;
/* rgb */ color: rgb(152, 35, 141);
/* oklch */ color: oklch(48.6% 0.190 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba6caf',
    500: '#98238d',
    950: '#000000',
  },
}
SCSS
$custom: #98238d;
$custom-light: #ba6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#98238d",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 305.641,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.18984,
    "h": 332.3
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#98238D
secondary
#59BE62
accent
#E65242
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98238D

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

Preview Lab → · Contrast checker → · Palette generator →

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