#985CE1#985CE1

#985CE1 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.196 H 301.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#985CE1
RGBrgb(152, 92, 225)
HSLhsl(267, 69%, 62%)
HSVhsv(267, 59%, 88%)
CMYKcmyk(32.4%, 59.1%, 0%, 11.8%)
CIE-LABlab(51.57, 50.55, -58.89)
CIE-LCHlch(51.57, 77.61, 310.64°)
OKLaboklab(60.41% 0.1026 -0.1668)
OKLCHoklch(60.41% 0.196 301.6)
XYZxyz(30.3635, 19.7658, 73.4351)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE1 #A5E15C
analogous
#5C62E1 #985CE1 #DB5CE1
triadic
#985CE1 #E1985C #5CE198
tetradic
#985CE1 #E15C62 #A5E15C #5CE1DB
square
#985CE1 #E15C62 #A5E15C #5CE1DB
split-complementary
#985CE1 #E1DB5C #62E15C
monochromatic
#5B1EA4 #7728D7 #985CE1 #B990EB #D9C3F4

Accessibility & contrast

On white

4.24
#985CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#985CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE1#FFFFFF#000000##000000
##985CE11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#127AE5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#897796
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ce1;
/* rgb */ color: rgb(152, 92, 225);
/* oklch */ color: oklch(60.4% 0.196 301.6);
Tailwind
colors: {
  custom: {
    50: '#bb8deb',
    500: '#985ce1',
    950: '#000000',
  },
}
SCSS
$custom: #985ce1;
$custom-light: #bb8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce1",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 267.068,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.19586,
    "h": 301.6
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#985CE1
secondary
#CFE5B4
accent
#D1157C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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