#985EF0#985EF0

#985EF0 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.210 H 298.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#985EF0
RGBrgb(152, 94, 240)
HSLhsl(264, 83%, 65%)
HSVhsv(264, 61%, 94%)
CMYKcmyk(36.7%, 60.8%, 0%, 5.9%)
CIE-LABlab(52.92, 53.20, -65.15)
CIE-LCHlch(52.92, 84.11, 309.24°)
OKLaboklab(61.69% 0.0997 -0.1852)
OKLCHoklch(61.69% 0.21 298.3)
XYZxyz(32.6758, 20.9717, 84.7476)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EF0 #B6F05E
analogous
#5E6DF0 #985EF0 #E15EF0
triadic
#985EF0 #F0985E #5EF098
tetradic
#985EF0 #F05E6D #B6F05E #5EF0E1
square
#985EF0 #F05E6D #B6F05E #5EF0E1
split-complementary
#985EF0 #F0E15E #6DF05E
monochromatic
#5812C2 #7426EB #985EF0 #BC96F5 #E0CEFA

Accessibility & contrast

On white

4.04
#985EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#985EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EF0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EF0#FFFFFF#000000##000000
##985EF01.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#1E7DED
Tritanopia (blue-blind)
#847E9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985ef0;
/* rgb */ color: rgb(152, 94, 240);
/* oklch */ color: oklch(61.7% 0.210 298.3);
Tailwind
colors: {
  custom: {
    50: '#bc8ef6',
    500: '#985ef0',
    950: '#000000',
  },
}
SCSS
$custom: #985ef0;
$custom-light: #bc8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#985ef0",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 263.836,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.21037,
    "h": 298.3
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#985EF0
secondary
#DAEDBC
accent
#DF0689
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #985EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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