#985CE0#985CE0

#985CE0 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.195 H 301.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#985CE0
RGBrgb(152, 92, 224)
HSLhsl(267, 68%, 62%)
HSVhsv(267, 59%, 88%)
CMYKcmyk(32.1%, 58.9%, 0%, 12.2%)
CIE-LABlab(51.51, 50.30, -58.42)
CIE-LCHlch(51.51, 77.10, 310.73°)
OKLaboklab(60.34% 0.1026 -0.1655)
OKLCHoklch(60.34% 0.195 301.8)
XYZxyz(30.2274, 19.7114, 72.7188)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE0 #A4E05C
analogous
#5C62E0 #985CE0 #DA5CE0
triadic
#985CE0 #E0985C #5CE098
tetradic
#985CE0 #E05C62 #A4E05C #5CE0DA
square
#985CE0 #E05C62 #A4E05C #5CE0DA
split-complementary
#985CE0 #E0DA5C #62E05C
monochromatic
#5B1FA3 #7829D6 #985CE0 #B88FEA #D9C3F4

Accessibility & contrast

On white

4.25
#985CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#985CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE0#FFFFFF#000000##000000
##985CE01.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#157AE4
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#8A7795
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ce0;
/* rgb */ color: rgb(152, 92, 224);
/* oklch */ color: oklch(60.3% 0.195 301.8);
Tailwind
colors: {
  custom: {
    50: '#ba8dea',
    500: '#985ce0',
    950: '#000000',
  },
}
SCSS
$custom: #985ce0;
$custom-light: #ba8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce0",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 267.273,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.19471,
    "h": 301.8
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#985CE0
secondary
#CEE4B4
accent
#D0167B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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