#985CFF#985CFF

#985CFF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.230 H 296.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#985CFF
RGBrgb(152, 92, 255)
HSLhsl(262, 100%, 68%)
HSVhsv(262, 64%, 100%)
CMYKcmyk(40.4%, 63.9%, 0%, 0%)
CIE-LABlab(53.55, 58.01, -72.48)
CIE-LCHlch(53.55, 92.83, 308.67°)
OKLaboklab(62.47% 0.1007 -0.2068)
OKLCHoklch(62.47% 0.23 296)
XYZxyz(34.8213, 21.5490, 96.9131)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CFF #C3FF5C
analogous
#5C71FF #985CFF #EA5CFF
triadic
#985CFF #FF985C #5CFF98
tetradic
#985CFF #FF5C71 #C3FF5C #5CFFEA
square
#985CFF #FF5C71 #C3FF5C #5CFFEA
split-complementary
#985CFF #FFEA5C #71FF5C
monochromatic
#5300E1 #711FFF #985CFF #BF99FF #E5D6FF

Accessibility & contrast

On white

3.95
#985CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#985CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CFF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CFF#FFFFFF#000000##000000
##985CFF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007EFC
Tritanopia (blue-blind)
#7E82A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #985cff;
/* rgb */ color: rgb(152, 92, 255);
/* oklch */ color: oklch(62.5% 0.230 296.0);
Tailwind
colors: {
  custom: {
    50: '#bd8dff',
    500: '#985cff',
    950: '#000000',
  },
}
SCSS
$custom: #985cff;
$custom-light: #bd8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#985cff",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 255
  },
  "hsl": {
    "h": 262.086,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.23002,
    "h": 296
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#985CFF
secondary
#E2F4C2
accent
#E60091
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #985CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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