#985DE8#985DE8

#985DE8 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.203 H 300.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#985DE8
RGBrgb(152, 93, 232)
HSLhsl(265, 75%, 64%)
HSVhsv(265, 60%, 91%)
CMYKcmyk(34.5%, 59.9%, 0%, 9%)
CIE-LABlab(52.21, 51.74, -61.81)
CIE-LCHlch(52.21, 80.61, 309.93°)
OKLaboklab(61.01% 0.1012 -0.1754)
OKLCHoklch(61.01% 0.203 300)
XYZxyz(31.4252, 20.3300, 78.5968)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DE8 #ADE85D
analogous
#5D67E8 #985DE8 #DE5DE8
triadic
#985DE8 #E8985D #5DE898
tetradic
#985DE8 #E85D67 #ADE85D #5DE8DE
square
#985DE8 #E85D67 #ADE85D #5DE8DE
split-complementary
#985DE8 #E8DE5D #67E85D
monochromatic
#5A19B1 #7627E0 #985DE8 #BA93F0 #DCC8F7

Accessibility & contrast

On white

4.15
#985DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#985DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DE8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DE8#FFFFFF#000000##000000
##985DE81.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#2C7CE5
Tritanopia (blue-blind)
#877B9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985de8;
/* rgb */ color: rgb(152, 93, 232);
/* oklch */ color: oklch(61.0% 0.203 300.0);
Tailwind
colors: {
  custom: {
    50: '#bb8df0',
    500: '#985de8',
    950: '#000000',
  },
}
SCSS
$custom: #985de8;
$custom-light: #bb8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#985de8",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 265.468,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.20253,
    "h": 300
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#985DE8
secondary
#D4E9B8
accent
#D70E82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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