#985CE3#985CE3

#985CE3 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.198 H 301.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#985CE3
RGBrgb(152, 92, 227)
HSLhsl(267, 71%, 63%)
HSVhsv(267, 59%, 89%)
CMYKcmyk(33%, 59.5%, 0%, 11%)
CIE-LABlab(51.70, 51.03, -59.82)
CIE-LCHlch(51.70, 78.63, 310.47°)
OKLaboklab(60.54% 0.1025 -0.1696)
OKLCHoklch(60.54% 0.198 301.2)
XYZxyz(30.6379, 19.8756, 74.8804)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE3 #A7E35C
analogous
#5C63E3 #985CE3 #DC5CE3
triadic
#985CE3 #E3985C #5CE398
tetradic
#985CE3 #E35C63 #A7E35C #5CE3DC
square
#985CE3 #E35C63 #A7E35C #5CE3DC
split-complementary
#985CE3 #E3DC5C #63E35C
monochromatic
#5B1DA8 #7728DA #985CE3 #B990EC #DAC4F5

Accessibility & contrast

On white

4.22
#985CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#985CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE3#FFFFFF#000000##000000
##985CE31.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7AE7
Deuteranopia (green-blind)
#327AE0
Tritanopia (blue-blind)
#897897
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ce3;
/* rgb */ color: rgb(152, 92, 227);
/* oklch */ color: oklch(60.5% 0.198 301.2);
Tailwind
colors: {
  custom: {
    50: '#bb8dec',
    500: '#985ce3',
    950: '#000000',
  },
}
SCSS
$custom: #985ce3;
$custom-light: #bb8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce3",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 266.667,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.19817,
    "h": 301.2
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#985CE3
secondary
#D0E6B5
accent
#D3137D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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