#985FA4#985FA4

#985FA4 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.4% C 0.121 H 320.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985FA4
RGBrgb(152, 95, 164)
HSLhsl(290, 27%, 51%)
HSVhsv(290, 42%, 64%)
CMYKcmyk(7.3%, 42.1%, 0%, 35.7%)
CIE-LABlab(48.93, 35.00, -27.92)
CIE-LCHlch(48.93, 44.77, 321.42°)
OKLaboklab(57.4% 0.093 -0.0768)
OKLCHoklch(57.4% 0.121 320.5)
XYZxyz(23.7411, 17.5410, 37.2499)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA4 #6BA45F
analogous
#755FA4 #985FA4 #A45F8D
triadic
#985FA4 #A4985F #5FA498
tetradic
#985FA4 #A4755F #6BA45F #5F8DA4
square
#985FA4 #A4755F #6BA45F #5F8DA4
split-complementary
#985FA4 #8DA45F #5FA475
monochromatic
#513257 #75487E #985FA4 #B186BA #CAADD0

Accessibility & contrast

On white

4.66
#985FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#985FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985FA4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FA4#FFFFFF#000000##FFFFFF
##985FA41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5670A6
Deuteranopia (green-blind)
#6576A2
Tritanopia (blue-blind)
#99677A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985fa4;
/* rgb */ color: rgb(152, 95, 164);
/* oklch */ color: oklch(57.4% 0.121 320.5);
Tailwind
colors: {
  custom: {
    50: '#b78ebf',
    500: '#985fa4',
    950: '#000000',
  },
}
SCSS
$custom: #985fa4;
$custom-light: #b78ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa4",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 289.565,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.574,
    "c": 0.1206,
    "h": 320.5
  },
  "luminance": 0.1754
}

Semantic roles & 50–950 ramp

primary
#985FA4
secondary
#A5BFA0
accent
#C46475
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA4

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

Preview Lab → · Contrast checker → · Palette generator →

#985FA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva