#985EF5#985EF5

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

Color values

HEX#985EF5
RGBrgb(152, 94, 245)
HSLhsl(263, 88%, 66%)
HSVhsv(263, 62%, 96%)
CMYKcmyk(38%, 61.6%, 0%, 3.9%)
CIE-LABlab(53.25, 54.46, -67.41)
CIE-LCHlch(53.25, 86.66, 308.94°)
OKLaboklab(62.04% 0.0994 -0.1919)
OKLCHoklch(62.04% 0.216 297.4)
XYZxyz(33.4288, 21.2729, 88.7133)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EF5 #BBF55E
analogous
#5E70F5 #985EF5 #E35EF5
triadic
#985EF5 #F5985E #5EF598
tetradic
#985EF5 #F55E70 #BBF55E #5EF5E3
square
#985EF5 #F55E70 #BBF55E #5EF5E3
split-complementary
#985EF5 #F5E35E #70F55E
monochromatic
#560DCC #7324F1 #985EF5 #BD98F9 #E2D1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985EF5#FFFFFF#000000##000000
##985EF51.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)
#0080FA
Deuteranopia (green-blind)
#0C7DF2
Tritanopia (blue-blind)
#8280A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #985ef5;
/* rgb */ color: rgb(152, 94, 245);
/* oklch */ color: oklch(62.0% 0.216 297.4);
Tailwind
colors: {
  custom: {
    50: '#bc8ef9',
    500: '#985ef5',
    950: '#000000',
  },
}
SCSS
$custom: #985ef5;
$custom-light: #bc8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#985ef5",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 263.046,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.21611,
    "h": 297.4
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#985EF5
secondary
#DDF0BF
accent
#E5018D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #985EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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