#985CDA#985CDA

#985CDA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.188 H 303.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#985CDA
RGBrgb(152, 92, 218)
HSLhsl(269, 63%, 61%)
HSVhsv(269, 58%, 85%)
CMYKcmyk(30.3%, 57.8%, 0%, 14.5%)
CIE-LABlab(51.14, 48.85, -55.62)
CIE-LCHlch(51.14, 74.02, 311.29°)
OKLaboklab(59.96% 0.1027 -0.1572)
OKLCHoklch(59.96% 0.188 303.1)
XYZxyz(29.4281, 19.3917, 68.5087)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CDA #9EDA5C
analogous
#5C5FDA #985CDA #D75CDA
triadic
#985CDA #DA985C #5CDA98
tetradic
#985CDA #DA5C5F #9EDA5C #5CDAD7
square
#985CDA #DA5C5F #9EDA5C #5CDAD7
split-complementary
#985CDA #DAD75C #5FDA5C
monochromatic
#5B2399 #792ECB #985CDA #B88EE5 #D7C0F1

Accessibility & contrast

On white

4.30
#985CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#985CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CDA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CDA#FFFFFF#000000##000000
##985CDA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DE
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#8C7592
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985cda;
/* rgb */ color: rgb(152, 92, 218);
/* oklch */ color: oklch(60.0% 0.188 303.1);
Tailwind
colors: {
  custom: {
    50: '#ba8de6',
    500: '#985cda',
    950: '#000000',
  },
}
SCSS
$custom: #985cda;
$custom-light: #ba8de6;
$custom-dark: #000000;
JSON
{
  "hex": "#985cda",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 268.571,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.18778,
    "h": 303.1
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#985CDA
secondary
#CAE1B1
accent
#CB1B77
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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