#985DBA#985DBA

#985DBA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.149 H 311.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985DBA
RGBrgb(152, 93, 186)
HSLhsl(278, 40%, 55%)
HSVhsv(278, 50%, 73%)
CMYKcmyk(18.3%, 50%, 0%, 27.1%)
CIE-LABlab(49.56, 40.85, -39.79)
CIE-LCHlch(49.56, 57.03, 315.76°)
OKLaboklab(58.21% 0.0995 -0.111)
OKLCHoklch(58.21% 0.149 311.9)
XYZxyz(25.7246, 18.0498, 48.5737)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DBA #7FBA5D
analogous
#6A5DBA #985DBA #BA5DAD
triadic
#985DBA #BA985D #5DBA98
tetradic
#985DBA #BA6A5D #7FBA5D #5DADBA
square
#985DBA #BA6A5D #7FBA5D #5DADBA
split-complementary
#985DBA #ADBA5D #5DBA6A
monochromatic
#572F6E #794199 #985DBA #B388CC #CFB3DF

Accessibility & contrast

On white

4.56
#985DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#985DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DBA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DBA#FFFFFF#000000##000000
##985DBA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#946C83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985dba;
/* rgb */ color: rgb(152, 93, 186);
/* oklch */ color: oklch(58.2% 0.149 311.9);
Tailwind
colors: {
  custom: {
    50: '#b88dcf',
    500: '#985dba',
    950: '#000000',
  },
}
SCSS
$custom: #985dba;
$custom-light: #b88dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#985dba",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 278.065,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.14908,
    "h": 311.9
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#985DBA
secondary
#B4CDA6
accent
#D05884
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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