#985FC4#985FC4

#985FC4 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.157 H 308.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#985FC4
RGBrgb(152, 95, 196)
HSLhsl(274, 46%, 57%)
HSVhsv(274, 52%, 77%)
CMYKcmyk(22.4%, 51.5%, 0%, 23.1%)
CIE-LABlab(50.51, 42.03, -44.06)
CIE-LCHlch(50.51, 60.89, 313.65°)
OKLaboklab(59.08% 0.0978 -0.1234)
OKLCHoklch(59.08% 0.157 308.4)
XYZxyz(27.0030, 18.8457, 54.4289)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC4 #8BC45F
analogous
#655FC4 #985FC4 #C45FBE
triadic
#985FC4 #C4985F #5FC498
tetradic
#985FC4 #C4655F #8BC45F #5FBEC4
square
#985FC4 #C4655F #8BC45F #5FBEC4
split-complementary
#985FC4 #BEC45F #5FC465
monochromatic
#592D7B #7A3EA8 #985FC4 #B58CD4 #D2B8E5

Accessibility & contrast

On white

4.40
#985FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#985FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC4#FFFFFF#000000##000000
##985FC41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4276C7
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#927089
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985fc4;
/* rgb */ color: rgb(152, 95, 196);
/* oklch */ color: oklch(59.1% 0.157 308.4);
Tailwind
colors: {
  custom: {
    50: '#b98ed6',
    500: '#985fc4',
    950: '#000000',
  },
}
SCSS
$custom: #985fc4;
$custom-light: #b98ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc4",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 273.861,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.15747,
    "h": 308.4
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#985FC4
secondary
#BDD4AB
accent
#D6528B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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