#985FDD#985FDD

#985FDD is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.187 H 302.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#985FDD
RGBrgb(152, 95, 221)
HSLhsl(267, 65%, 62%)
HSVhsv(267, 57%, 87%)
CMYKcmyk(31.2%, 57%, 0%, 13.3%)
CIE-LABlab(51.93, 47.98, -56.06)
CIE-LCHlch(51.93, 73.78, 310.56°)
OKLaboklab(60.59% 0.099 -0.1585)
OKLCHoklch(60.59% 0.187 302)
XYZxyz(30.0892, 20.0802, 70.6833)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FDD #A4DD5F
analogous
#5F65DD #985FDD #D75FDD
triadic
#985FDD #DD985F #5FDD98
tetradic
#985FDD #DD5F65 #A4DD5F #5FDDD7
square
#985FDD #DD5F65 #A4DD5F #5FDDD7
split-complementary
#985FDD #DDD75F #65DD5F
monochromatic
#5B22A0 #782DD2 #985FDD #B891E8 #D9C4F2

Accessibility & contrast

On white

4.19
#985FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#985FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FDD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FDD#FFFFFF#000000##000000
##985FDD1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#277BE1
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#8B7895
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985fdd;
/* rgb */ color: rgb(152, 95, 221);
/* oklch */ color: oklch(60.6% 0.187 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba8ee8',
    500: '#985fdd',
    950: '#000000',
  },
}
SCSS
$custom: #985fdd;
$custom-light: #ba8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#985fdd",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 267.143,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60591,
    "c": 0.1869,
    "h": 302
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#985FDD
secondary
#CEE3B5
accent
#CD197B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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