#985FBB#985FBB

#985FBB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.147 H 311.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#985FBB
RGBrgb(152, 95, 187)
HSLhsl(277, 40%, 55%)
HSVhsv(277, 49%, 73%)
CMYKcmyk(18.7%, 49.2%, 0%, 26.7%)
CIE-LABlab(50.04, 39.98, -39.61)
CIE-LCHlch(50.04, 56.28, 315.26°)
OKLaboklab(58.58% 0.0968 -0.1105)
OKLCHoklch(58.58% 0.147 311.2)
XYZxyz(26.0091, 18.4482, 49.1948)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FBB #82BB5F
analogous
#6A5FBB #985FBB #BB5FB0
triadic
#985FBB #BB985F #5FBB98
tetradic
#985FBB #BB6A5F #82BB5F #5FB0BB
square
#985FBB #BB6A5F #82BB5F #5FB0BB
split-complementary
#985FBB #B0BB5F #5FBB6A
monochromatic
#573070 #79429B #985FBB #B48ACD #CFB5E0

Accessibility & contrast

On white

4.48
#985FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#985FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FBB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FBB#FFFFFF#000000##000000
##985FBB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#946E84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985fbb;
/* rgb */ color: rgb(152, 95, 187);
/* oklch */ color: oklch(58.6% 0.147 311.2);
Tailwind
colors: {
  custom: {
    50: '#b88ed0',
    500: '#985fbb',
    950: '#000000',
  },
}
SCSS
$custom: #985fbb;
$custom-light: #b88ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#985fbb",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 277.174,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.14691,
    "h": 311.2
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

primary
#985FBB
secondary
#B6CEA8
accent
#D05885
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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