#985ADF#985ADF

#985ADF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.196 H 302.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#985ADF
RGBrgb(152, 90, 223)
HSLhsl(268, 68%, 61%)
HSVhsv(268, 60%, 87%)
CMYKcmyk(31.8%, 59.6%, 0%, 12.5%)
CIE-LABlab(51.05, 51.11, -58.59)
CIE-LCHlch(51.05, 77.75, 311.10°)
OKLaboklab(59.99% 0.105 -0.166)
OKLCHoklch(59.99% 0.196 302.3)
XYZxyz(29.9213, 19.3154, 71.9496)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ADF #A1DF5A
analogous
#5A5FDF #985ADF #DB5ADF
triadic
#985ADF #DF985A #5ADF98
tetradic
#985ADF #DF5A5F #A1DF5A #5ADFDB
square
#985ADF #DF5A5F #A1DF5A #5ADFDB
split-complementary
#985ADF #DFDB5A #5FDF5A
monochromatic
#5B1FA0 #7829D3 #985ADF #B88DE9 #D8C1F3

Accessibility & contrast

On white

4.32
#985ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#985ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985ADF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ADF#FFFFFF#000000##000000
##985ADF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E79E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#8A7594
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985adf;
/* rgb */ color: rgb(152, 90, 223);
/* oklch */ color: oklch(60.0% 0.196 302.3);
Tailwind
colors: {
  custom: {
    50: '#ba8bea',
    500: '#985adf',
    950: '#000000',
  },
}
SCSS
$custom: #985adf;
$custom-light: #ba8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#985adf",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 223
  },
  "hsl": {
    "h": 267.97,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59991,
    "c": 0.1964,
    "h": 302.3
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#985ADF
secondary
#CCE3B2
accent
#CF1679
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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