#985FDA#985FDA

#985FDA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.183 H 302.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#985FDA
RGBrgb(152, 95, 218)
HSLhsl(268, 62%, 61%)
HSVhsv(268, 56%, 85%)
CMYKcmyk(30.3%, 56.4%, 0%, 14.5%)
CIE-LABlab(51.75, 47.25, -54.64)
CIE-LCHlch(51.75, 72.24, 310.85°)
OKLaboklab(60.4% 0.0989 -0.1544)
OKLCHoklch(60.4% 0.183 302.6)
XYZxyz(29.6931, 19.9218, 68.5970)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FDA #A1DA5F
analogous
#5F64DA #985FDA #D65FDA
triadic
#985FDA #DA985F #5FDA98
tetradic
#985FDA #DA5F64 #A1DA5F #5FDAD6
square
#985FDA #DA5F64 #A1DA5F #5FDAD6
split-complementary
#985FDA #DAD65F #64DA5F
monochromatic
#5B249B #782FCD #985FDA #B891E5 #D8C2F1

Accessibility & contrast

On white

4.21
#985FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#985FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FDA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FDA#FFFFFF#000000##000000
##985FDA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADE
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#8B7793
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985fda;
/* rgb */ color: rgb(152, 95, 218);
/* oklch */ color: oklch(60.4% 0.183 302.6);
Tailwind
colors: {
  custom: {
    50: '#ba8ee6',
    500: '#985fda',
    950: '#000000',
  },
}
SCSS
$custom: #985fda;
$custom-light: #ba8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#985fda",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 267.805,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.18338,
    "h": 302.6
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#985FDA
secondary
#CCE1B3
accent
#CA1B79
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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