#985FBC#985FBC

#985FBC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.148 H 310.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#985FBC
RGBrgb(152, 95, 188)
HSLhsl(277, 41%, 55%)
HSVhsv(277, 49%, 74%)
CMYKcmyk(19.1%, 49.5%, 0%, 26.3%)
CIE-LABlab(50.09, 40.20, -40.11)
CIE-LCHlch(50.09, 56.79, 315.07°)
OKLaboklab(58.64% 0.0969 -0.1119)
OKLCHoklch(58.64% 0.148 310.9)
XYZxyz(26.1166, 18.4911, 49.7605)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FBC #83BC5F
analogous
#695FBC #985FBC #BC5FB1
triadic
#985FBC #BC985F #5FBC98
tetradic
#985FBC #BC695F #83BC5F #5FB1BC
square
#985FBC #BC695F #83BC5F #5FB1BC
split-complementary
#985FBC #B1BC5F #5FBC69
monochromatic
#582F71 #79419C #985FBC #B48ACE #D0B5E0

Accessibility & contrast

On white

4.47
#985FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#985FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FBC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FBC#FFFFFF#000000##000000
##985FBC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#5978BA
Tritanopia (blue-blind)
#946E85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985fbc;
/* rgb */ color: rgb(152, 95, 188);
/* oklch */ color: oklch(58.6% 0.148 310.9);
Tailwind
colors: {
  custom: {
    50: '#b88ed0',
    500: '#985fbc',
    950: '#000000',
  },
}
SCSS
$custom: #985fbc;
$custom-light: #b88ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#985fbc",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 276.774,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.14808,
    "h": 310.9
  },
  "luminance": 0.18491
}

Semantic roles & 50–950 ramp

primary
#985FBC
secondary
#B7CFA8
accent
#D15786
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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