#985DF0#985DF0

#985DF0 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.212 H 298.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#985DF0
RGBrgb(152, 93, 240)
HSLhsl(264, 83%, 65%)
HSVhsv(264, 61%, 94%)
CMYKcmyk(36.7%, 61.2%, 0%, 5.9%)
CIE-LABlab(52.72, 53.73, -65.46)
CIE-LCHlch(52.72, 84.68, 309.38°)
OKLaboklab(61.55% 0.1008 -0.1862)
OKLCHoklch(61.55% 0.212 298.4)
XYZxyz(32.5875, 20.7950, 84.7181)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DF0 #B5F05D
analogous
#5D6BF0 #985DF0 #E25DF0
triadic
#985DF0 #F0985D #5DF098
tetradic
#985DF0 #F05D6B #B5F05D #5DF0E2
square
#985DF0 #F05D6B #B5F05D #5DF0E2
split-complementary
#985DF0 #F0E25D #6BF05D
monochromatic
#5812C1 #7425EB #985DF0 #BC95F5 #DFCDFA

Accessibility & contrast

On white

4.07
#985DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#985DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DF0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DF0#FFFFFF#000000##000000
##985DF01.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985df0;
/* rgb */ color: rgb(152, 93, 240);
/* oklch */ color: oklch(61.6% 0.212 298.4);
Tailwind
colors: {
  custom: {
    50: '#bc8ef6',
    500: '#985df0',
    950: '#000000',
  },
}
SCSS
$custom: #985df0;
$custom-light: #bc8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#985df0",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 264.082,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.21171,
    "h": 298.4
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#985DF0
secondary
#D9EDBC
accent
#DF0688
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #985DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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