#985EC0#985EC0

#985EC0 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.154 H 309.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#985EC0
RGBrgb(152, 94, 192)
HSLhsl(276, 44%, 56%)
HSVhsv(276, 51%, 75%)
CMYKcmyk(20.8%, 51%, 0%, 24.7%)
CIE-LABlab(50.08, 41.66, -42.43)
CIE-LCHlch(50.08, 59.46, 314.48°)
OKLaboklab(58.7% 0.0988 -0.1187)
OKLCHoklch(58.7% 0.154 309.8)
XYZxyz(26.4642, 18.4870, 52.0332)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EC0 #86C05E
analogous
#675EC0 #985EC0 #C05EB7
triadic
#985EC0 #C0985E #5EC098
tetradic
#985EC0 #C0675E #86C05E #5EB7C0
square
#985EC0 #C0675E #86C05E #5EB7C0
split-complementary
#985EC0 #B7C05E #5EC067
monochromatic
#582E76 #793FA2 #985EC0 #B48AD1 #D0B6E2

Accessibility & contrast

On white

4.47
#985EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#985EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EC0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EC0#FFFFFF#000000##000000
##985EC01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C3
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#936E86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985ec0;
/* rgb */ color: rgb(152, 94, 192);
/* oklch */ color: oklch(58.7% 0.154 309.8);
Tailwind
colors: {
  custom: {
    50: '#b88dd3',
    500: '#985ec0',
    950: '#000000',
  },
}
SCSS
$custom: #985ec0;
$custom-light: #b88dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#985ec0",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 275.51,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.1544,
    "h": 309.8
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#985EC0
secondary
#B9D1A9
accent
#D35488
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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