#98438B#98438B

#98438B is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.9% C 0.145 H 333.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#98438B
RGBrgb(152, 67, 139)
HSLhsl(309, 39%, 43%)
HSVhsv(309, 56%, 60%)
CMYKcmyk(0%, 55.9%, 8.6%, 40.4%)
CIE-LABlab(42.09, 45.11, -23.63)
CIE-LCHlch(42.09, 50.93, 332.35°)
OKLaboklab(51.94% 0.13 -0.0643)
OKLCHoklch(51.94% 0.145 333.7)
XYZxyz(19.6163, 12.5552, 25.8113)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98438B #439850
analogous
#7A4398 #98438B #984361
triadic
#98438B #8B9843 #438B98
tetradic
#98438B #987A43 #439850 #436198
square
#98438B #987A43 #439850 #436198
split-complementary
#98438B #619843 #43987A
monochromatic
#431E3D #6E3064 #98438B #B960AB #CB8AC1

Accessibility & contrast

On white

5.98
#98438B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#98438B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98438B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98438B#FFFFFF#000000##FFFFFF
##98438B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#5B6889
Tritanopia (blue-blind)
#9E4961
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #98438b;
/* rgb */ color: rgb(152, 67, 139);
/* oklch */ color: oklch(51.9% 0.145 333.7);
Tailwind
colors: {
  custom: {
    50: '#b97bad',
    500: '#98438b',
    950: '#000000',
  },
}
SCSS
$custom: #98438b;
$custom-light: #b97bad;
$custom-dark: #000000;
JSON
{
  "hex": "#98438b",
  "rgb": {
    "r": 152,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 309.176,
    "s": 38.813,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51938,
    "c": 0.14498,
    "h": 333.7
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#98438B
secondary
#80B689
accent
#CF6B59
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #98438B

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

Preview Lab → · Contrast checker → · Palette generator →

#98438B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva