#985EB3#985EB3

#985EB3 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.0% C 0.139 H 314.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#985EB3
RGBrgb(152, 94, 179)
HSLhsl(281, 36%, 54%)
HSVhsv(281, 47%, 70%)
CMYKcmyk(15.1%, 47.5%, 0%, 29.8%)
CIE-LABlab(49.42, 38.75, -35.94)
CIE-LCHlch(49.42, 52.85, 317.16°)
OKLaboklab(57.99% 0.0972 -0.0998)
OKLCHoklch(57.99% 0.139 314.2)
XYZxyz(25.0870, 17.9361, 44.7796)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB3 #79B35E
analogous
#6D5EB3 #985EB3 #B35EA3
triadic
#985EB3 #B3985E #5EB398
tetradic
#985EB3 #B36D5E #79B35E #5EA3B3
square
#985EB3 #B36D5E #79B35E #5EA3B3
split-complementary
#985EB3 #A3B35E #5EB36D
monochromatic
#553066 #784490 #985EB3 #B388C7 #CDB1DA

Accessibility & contrast

On white

4.58
#985EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#985EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EB3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB3#FFFFFF#000000##000000
##985EB31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B6
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#966B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985eb3;
/* rgb */ color: rgb(152, 94, 179);
/* oklch */ color: oklch(58.0% 0.139 314.2);
Tailwind
colors: {
  custom: {
    50: '#b88dca',
    500: '#985eb3',
    950: '#000000',
  },
}
SCSS
$custom: #985eb3;
$custom-light: #b88dca;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb3",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 280.941,
    "s": 35.865,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.13932,
    "h": 314.2
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#985EB3
secondary
#B0C9A4
accent
#CC5C7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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