#985FBA#985FBA

#985FBA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.146 H 311.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#985FBA
RGBrgb(152, 95, 186)
HSLhsl(278, 40%, 55%)
HSVhsv(278, 49%, 73%)
CMYKcmyk(18.3%, 48.9%, 0%, 27.1%)
CIE-LABlab(49.98, 39.75, -39.12)
CIE-LCHlch(49.98, 55.77, 315.46°)
OKLaboklab(58.53% 0.0967 -0.109)
OKLCHoklch(58.53% 0.146 311.6)
XYZxyz(25.9025, 18.4055, 48.6330)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FBA #81BA5F
analogous
#6A5FBA #985FBA #BA5FAF
triadic
#985FBA #BA985F #5FBA98
tetradic
#985FBA #BA6A5F #81BA5F #5FAFBA
square
#985FBA #BA6A5F #81BA5F #5FAFBA
split-complementary
#985FBA #AFBA5F #5FBA6A
monochromatic
#57306F #79429A #985FBA #B48ACC #CFB5DF

Accessibility & contrast

On white

4.49
#985FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#985FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FBA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FBA#FFFFFF#000000##000000
##985FBA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#946D84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985fba;
/* rgb */ color: rgb(152, 95, 186);
/* oklch */ color: oklch(58.5% 0.146 311.6);
Tailwind
colors: {
  custom: {
    50: '#b88ecf',
    500: '#985fba',
    950: '#000000',
  },
}
SCSS
$custom: #985fba;
$custom-light: #b88ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#985fba",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 277.582,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.14575,
    "h": 311.6
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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