#98238E#98238E

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

Color values

HEX#98238E
RGBrgb(152, 35, 142)
HSLhsl(305, 63%, 37%)
HSVhsv(305, 77%, 60%)
CMYKcmyk(0%, 77%, 6.6%, 40.4%)
CIE-LABlab(37.54, 58.64, -32.58)
CIE-LCHlch(37.54, 67.08, 330.94°)
OKLaboklab(48.68% 0.1682 -0.0897)
OKLCHoklch(48.68% 0.191 331.9)
XYZxyz(18.4325, 9.8320, 26.5129)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98238E #23982D
analogous
#682398 #98238E #982354
triadic
#98238E #8E9823 #238E98
tetradic
#98238E #986823 #23982D #235498
square
#98238E #986823 #23982D #235498
split-complementary
#98238E #549823 #239868
monochromatic
#350C31 #661860 #98238E #CA2EBC #D95CCF

Accessibility & contrast

On white

7.08
#98238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98238E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98238E#FFFFFF#000000##FFFFFF
##98238E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#9F3157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98238e;
/* rgb */ color: rgb(152, 35, 142);
/* oklch */ color: oklch(48.7% 0.191 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6caf',
    500: '#98238e',
    950: '#000000',
  },
}
SCSS
$custom: #98238e;
$custom-light: #ba6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#98238e",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 305.128,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.19058,
    "h": 331.9
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#98238E
secondary
#59BE61
accent
#E65042
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98238E

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

Preview Lab → · Contrast checker → · Palette generator →

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