#985BDF#985BDF

#985BDF is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.195 H 302.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#985BDF
RGBrgb(152, 91, 223)
HSLhsl(268, 67%, 62%)
HSVhsv(268, 59%, 87%)
CMYKcmyk(31.8%, 59.2%, 0%, 12.5%)
CIE-LABlab(51.25, 50.58, -58.28)
CIE-LCHlch(51.25, 77.17, 310.96°)
OKLaboklab(60.13% 0.1038 -0.165)
OKLCHoklch(60.13% 0.195 302.2)
XYZxyz(30.0062, 19.4852, 71.9779)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BDF #A2DF5B
analogous
#5B60DF #985BDF #DA5BDF
triadic
#985BDF #DF985B #5BDF98
tetradic
#985BDF #DF5B60 #A2DF5B #5BDFDA
square
#985BDF #DF5B60 #A2DF5B #5BDFDA
split-complementary
#985BDF #DFDA5B #60DF5B
monochromatic
#5B1FA0 #7829D4 #985BDF #B88EE9 #D8C1F3

Accessibility & contrast

On white

4.29
#985BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#985BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BDF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BDF#FFFFFF#000000##000000
##985BDF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#8A7694
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985bdf;
/* rgb */ color: rgb(152, 91, 223);
/* oklch */ color: oklch(60.1% 0.195 302.2);
Tailwind
colors: {
  custom: {
    50: '#ba8cea',
    500: '#985bdf',
    950: '#000000',
  },
}
SCSS
$custom: #985bdf;
$custom-light: #ba8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#985bdf",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 267.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60134,
    "c": 0.19499,
    "h": 302.2
  },
  "luminance": 0.19485
}

Semantic roles & 50–950 ramp

primary
#985BDF
secondary
#CDE3B2
accent
#CF167A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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