#985298#985298

#985298 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.7% C 0.131 H 327.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#985298
RGBrgb(152, 82, 152)
HSLhsl(300, 30%, 46%)
HSVhsv(300, 46%, 60%)
CMYKcmyk(0%, 46.1%, 0%, 40.4%)
CIE-LABlab(45.60, 39.74, -25.99)
CIE-LCHlch(45.60, 47.49, 326.81°)
OKLaboklab(54.74% 0.1103 -0.0711)
OKLCHoklch(54.74% 0.131 327.2)
XYZxyz(21.6333, 14.9781, 31.4512)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985298 #529852
analogous
#755298 #985298 #985275
triadic
#985298 #989852 #529898
tetradic
#985298 #987552 #529852 #527598
square
#985298 #987552 #529852 #527598
split-complementary
#985298 #759852 #529875
monochromatic
#482748 #703D70 #985298 #B473B4 #C99BC9

Accessibility & contrast

On white

5.26
#985298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#985298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985298
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985298#FFFFFF#000000##FFFFFF
##9852981.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C669A
Deuteranopia (green-blind)
#606F96
Tritanopia (blue-blind)
#9C596E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #985298;
/* rgb */ color: rgb(152, 82, 152);
/* oklch */ color: oklch(54.7% 0.131 327.2);
Tailwind
colors: {
  custom: {
    50: '#b885b6',
    500: '#985298',
    950: '#000000',
  },
}
SCSS
$custom: #985298;
$custom-light: #b885b6;
$custom-dark: #000000;
JSON
{
  "hex": "#985298",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.13128,
    "h": 327.2
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#985298
secondary
#90B690
accent
#C66262
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #985298

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

Preview Lab → · Contrast checker → · Palette generator →

#985298 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva