#985CC3#985CC3

#985CC3 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.161 H 309.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985CC3
RGBrgb(152, 92, 195)
HSLhsl(275, 46%, 56%)
HSVhsv(275, 53%, 76%)
CMYKcmyk(22.1%, 52.8%, 0%, 23.5%)
CIE-LABlab(49.82, 43.44, -44.57)
CIE-LCHlch(49.82, 62.24, 314.26°)
OKLaboklab(58.56% 0.1018 -0.1249)
OKLCHoklch(58.56% 0.161 309.2)
XYZxyz(26.6245, 18.2702, 53.7431)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CC3 #87C35C
analogous
#655CC3 #985CC3 #C35CBB
triadic
#985CC3 #C3985C #5CC398
tetradic
#985CC3 #C3655C #87C35C #5CBBC3
square
#985CC3 #C3655C #87C35C #5CBBC3
split-complementary
#985CC3 #BBC35C #5CC365
monochromatic
#592C78 #7A3DA5 #985CC3 #B489D3 #D1B5E4

Accessibility & contrast

On white

4.51
#985CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#985CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CC3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CC3#FFFFFF#000000##000000
##985CC31.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E74C6
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#926E87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985cc3;
/* rgb */ color: rgb(152, 92, 195);
/* oklch */ color: oklch(58.6% 0.161 309.2);
Tailwind
colors: {
  custom: {
    50: '#b98cd5',
    500: '#985cc3',
    950: '#000000',
  },
}
SCSS
$custom: #985cc3;
$custom-light: #b98cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#985cc3",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 274.951,
    "s": 46.188,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.16113,
    "h": 309.2
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#985CC3
secondary
#BAD3A8
accent
#D65289
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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