#985BCA#985BCA

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

Color values

HEX#985BCA
RGBrgb(152, 91, 202)
HSLhsl(273, 51%, 57%)
HSVhsv(273, 55%, 79%)
CMYKcmyk(24.8%, 55%, 0%, 20.8%)
CIE-LABlab(50.00, 45.59, -48.31)
CIE-LCHlch(50.00, 66.42, 313.34°)
OKLaboklab(58.82% 0.1035 -0.1358)
OKLCHoklch(58.82% 0.171 307.3)
XYZxyz(27.3485, 18.4222, 57.9808)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BCA #8DCA5B
analogous
#615BCA #985BCA #CA5BC4
triadic
#985BCA #CA985B #5BCA98
tetradic
#985BCA #CA615B #8DCA5B #5BC4CA
square
#985BCA #CA615B #8DCA5B #5BC4CA
split-complementary
#985BCA #C4CA5B #5BCA61
monochromatic
#5A2A81 #7A39AF #985BCA #B589D9 #D2B8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985BCA#FFFFFF#000000##000000
##985BCA1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#4B78C7
Tritanopia (blue-blind)
#906F8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985bca;
/* rgb */ color: rgb(152, 91, 202);
/* oklch */ color: oklch(58.8% 0.171 307.3);
Tailwind
colors: {
  custom: {
    50: '#b98cdb',
    500: '#985bca',
    950: '#000000',
  },
}
SCSS
$custom: #985bca;
$custom-light: #b98cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#985bca",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 272.973,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.17079,
    "h": 307.3
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#985BCA
secondary
#BED7AA
accent
#DB4D8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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