#985FD3#985FD3

#985FD3 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.175 H 304.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#985FD3
RGBrgb(152, 95, 211)
HSLhsl(269, 57%, 60%)
HSVhsv(269, 55%, 83%)
CMYKcmyk(28%, 55%, 0%, 17.3%)
CIE-LABlab(51.34, 45.56, -51.32)
CIE-LCHlch(51.34, 68.63, 311.60°)
OKLaboklab(59.97% 0.0987 -0.1447)
OKLCHoklch(59.97% 0.175 304.3)
XYZxyz(28.7964, 19.5631, 63.8744)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FD3 #9AD35F
analogous
#5F60D3 #985FD3 #D25FD3
triadic
#985FD3 #D3985F #5FD398
tetradic
#985FD3 #D35F60 #9AD35F #5FD3D2
square
#985FD3 #D35F60 #9AD35F #5FD3D2
split-complementary
#985FD3 #D3D25F #60D35F
monochromatic
#5B2890 #7935C0 #985FD3 #B78FE0 #D6BFED

Accessibility & contrast

On white

4.27
#985FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#985FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FD3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FD3#FFFFFF#000000##000000
##985FD31.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D7
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#8E7590
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985fd3;
/* rgb */ color: rgb(152, 95, 211);
/* oklch */ color: oklch(60.0% 0.175 304.3);
Tailwind
colors: {
  custom: {
    50: '#b98ee1',
    500: '#985fd3',
    950: '#000000',
  },
}
SCSS
$custom: #985fd3;
$custom-light: #b98ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#985fd3",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 269.483,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.17515,
    "h": 304.3
  },
  "luminance": 0.19563
}

Semantic roles & 50–950 ramp

primary
#985FD3
secondary
#C7DDB1
accent
#E04895
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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