#985CC7#985CC7

#985CC7 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.166 H 308.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#985CC7
RGBrgb(152, 92, 199)
HSLhsl(274, 49%, 57%)
HSVhsv(274, 54%, 78%)
CMYKcmyk(23.6%, 53.8%, 0%, 22%)
CIE-LABlab(50.04, 44.36, -46.53)
CIE-LCHlch(50.04, 64.28, 313.63°)
OKLaboklab(58.79% 0.1021 -0.1306)
OKLCHoklch(58.79% 0.166 308)
XYZxyz(27.0828, 18.4536, 56.1569)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CC7 #8BC75C
analogous
#635CC7 #985CC7 #C75CC0
triadic
#985CC7 #C7985C #5CC798
tetradic
#985CC7 #C7635C #8BC75C #5CC0C7
square
#985CC7 #C7635C #8BC75C #5CC0C7
split-complementary
#985CC7 #C0C75C #5CC763
monochromatic
#592B7D #7A3BAB #985CC7 #B58AD7 #D2B7E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985CC7#FFFFFF#000000##000000
##985CC71.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)
#3B75CB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#916F89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985cc7;
/* rgb */ color: rgb(152, 92, 199);
/* oklch */ color: oklch(58.8% 0.166 308.0);
Tailwind
colors: {
  custom: {
    50: '#b98cd8',
    500: '#985cc7',
    950: '#000000',
  },
}
SCSS
$custom: #985cc7;
$custom-light: #b98cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#985cc7",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 273.645,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.16576,
    "h": 308
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#985CC7
secondary
#BDD5AA
accent
#D84F8C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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