#985DD3#985DD3

#985DD3 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.178 H 304.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#985DD3
RGBrgb(152, 93, 211)
HSLhsl(270, 57%, 60%)
HSVhsv(270, 56%, 83%)
CMYKcmyk(28%, 55.9%, 0%, 17.3%)
CIE-LABlab(50.93, 46.64, -51.98)
CIE-LCHlch(50.93, 69.83, 311.90°)
OKLaboklab(59.67% 0.1013 -0.1466)
OKLCHoklch(59.67% 0.178 304.6)
XYZxyz(28.6186, 19.2074, 63.8151)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DD3 #98D35D
analogous
#5D5DD3 #985DD3 #D35DD3
triadic
#985DD3 #D3985D #5DD398
tetradic
#985DD3 #D35D5D #98D35D #5DD3D3
square
#985DD3 #D35D5D #98D35D #5DD3D3
split-complementary
#985DD3 #D3D35D #5DD35D
monochromatic
#5B278F #7934BF #985DD3 #B78DE0 #D5BDED

Accessibility & contrast

On white

4.34
#985DD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#985DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DD3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DD3#FFFFFF#000000##000000
##985DD31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D7
Deuteranopia (green-blind)
#4679D0
Tritanopia (blue-blind)
#8E748F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985dd3;
/* rgb */ color: rgb(152, 93, 211);
/* oklch */ color: oklch(59.7% 0.178 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba8de1',
    500: '#985dd3',
    950: '#000000',
  },
}
SCSS
$custom: #985dd3;
$custom-light: #ba8de1;
$custom-dark: #000000;
JSON
{
  "hex": "#985dd3",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 211
  },
  "hsl": {
    "h": 270,
    "s": 57.282,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59667,
    "c": 0.17818,
    "h": 304.6
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#985DD3
secondary
#C6DDAF
accent
#E14794
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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