#985BDC#985BDC

#985BDC is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.192 H 302.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#985BDC
RGBrgb(152, 91, 220)
HSLhsl(268, 65%, 61%)
HSVhsv(268, 59%, 86%)
CMYKcmyk(30.9%, 58.6%, 0%, 13.7%)
CIE-LABlab(51.07, 49.86, -56.87)
CIE-LCHlch(51.07, 75.63, 311.24°)
OKLaboklab(59.94% 0.1039 -0.1609)
OKLCHoklch(59.94% 0.192 302.8)
XYZxyz(29.6053, 19.3249, 69.8667)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BDC #9FDC5B
analogous
#5B5EDC #985BDC #D85BDC
triadic
#985BDC #DC985B #5BDC98
tetradic
#985BDC #DC5B5E #9FDC5B #5BDCD8
square
#985BDC #DC5B5E #9FDC5B #5BDCD8
split-complementary
#985BDC #DCD85B #5EDC5B
monochromatic
#5B219B #792CCE #985BDC #B88DE7 #D7C0F2

Accessibility & contrast

On white

4.32
#985BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#985BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BDC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BDC#FFFFFF#000000##000000
##985BDC1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#8B7593
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985bdc;
/* rgb */ color: rgb(152, 91, 220);
/* oklch */ color: oklch(59.9% 0.192 302.8);
Tailwind
colors: {
  custom: {
    50: '#ba8ce7',
    500: '#985bdc',
    950: '#000000',
  },
}
SCSS
$custom: #985bdc;
$custom-light: #ba8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#985bdc",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 268.372,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5994,
    "c": 0.19153,
    "h": 302.8
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#985BDC
secondary
#CBE2B1
accent
#CD1978
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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