#985DDF#985DDF

#985DDF is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.192 H 301.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#985DDF
RGBrgb(152, 93, 223)
HSLhsl(267, 67%, 62%)
HSVhsv(267, 58%, 87%)
CMYKcmyk(31.8%, 58.3%, 0%, 12.5%)
CIE-LABlab(51.65, 49.53, -57.64)
CIE-LCHlch(51.65, 76.00, 310.67°)
OKLaboklab(60.42% 0.1014 -0.1632)
OKLCHoklch(60.42% 0.192 301.9)
XYZxyz(30.1794, 19.8317, 72.0357)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DDF #A4DF5D
analogous
#5D63DF #985DDF #D95DDF
triadic
#985DDF #DF985D #5DDF98
tetradic
#985DDF #DF5D63 #A4DF5D #5DDFD9
square
#985DDF #DF5D63 #A4DF5D #5DDFD9
split-complementary
#985DDF #DFD95D #63DF5D
monochromatic
#5B20A2 #782AD5 #985DDF #B890E9 #D9C3F3

Accessibility & contrast

On white

4.23
#985DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#985DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DDF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DDF#FFFFFF#000000##000000
##985DDF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7AE3
Deuteranopia (green-blind)
#397BDC
Tritanopia (blue-blind)
#8A7895
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ddf;
/* rgb */ color: rgb(152, 93, 223);
/* oklch */ color: oklch(60.4% 0.192 301.9);
Tailwind
colors: {
  custom: {
    50: '#ba8dea',
    500: '#985ddf',
    950: '#000000',
  },
}
SCSS
$custom: #985ddf;
$custom-light: #ba8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#985ddf",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 267.231,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60424,
    "c": 0.19212,
    "h": 301.9
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#985DDF
secondary
#CEE4B4
accent
#CF177B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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