#985FF2#985FF2

#985FF2 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.211 H 297.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#985FF2
RGBrgb(152, 95, 242)
HSLhsl(263, 85%, 66%)
HSVhsv(263, 61%, 95%)
CMYKcmyk(37.2%, 60.7%, 0%, 5.1%)
CIE-LABlab(53.24, 53.18, -65.74)
CIE-LCHlch(53.24, 84.56, 308.97°)
OKLaboklab(61.97% 0.0985 -0.187)
OKLCHoklch(61.97% 0.211 297.8)
XYZxyz(33.0641, 21.2701, 86.3507)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FF2 #B9F25F
analogous
#5F6FF2 #985FF2 #E15FF2
triadic
#985FF2 #F2985F #5FF298
tetradic
#985FF2 #F25F6F #B9F25F #5FF2E1
square
#985FF2 #F25F6F #B9F25F #5FF2E1
split-complementary
#985FF2 #F2E15F #6FF25F
monochromatic
#5710C6 #7426ED #985FF2 #BC98F7 #E1D0FB

Accessibility & contrast

On white

4.00
#985FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#985FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FF2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FF2#FFFFFF#000000##000000
##985FF21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#1C7EEF
Tritanopia (blue-blind)
#837FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #985ff2;
/* rgb */ color: rgb(152, 95, 242);
/* oklch */ color: oklch(62.0% 0.211 297.8);
Tailwind
colors: {
  custom: {
    50: '#bc8ff7',
    500: '#985ff2',
    950: '#000000',
  },
}
SCSS
$custom: #985ff2;
$custom-light: #bc8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#985ff2",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 263.265,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61972,
    "c": 0.21133,
    "h": 297.8
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#985FF2
secondary
#DCEFBE
accent
#E1048C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #985FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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