#985BEC#985BEC

#985BEC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.210 H 299.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#985BEC
RGBrgb(152, 91, 236)
HSLhsl(265, 79%, 64%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(35.6%, 61.4%, 0%, 7.5%)
CIE-LABlab(52.08, 53.77, -64.27)
CIE-LCHlch(52.08, 83.79, 309.92°)
OKLaboklab(61% 0.1033 -0.1826)
OKLCHoklch(61% 0.21 299.5)
XYZxyz(31.8266, 20.2134, 81.5654)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BEC #AFEC5B
analogous
#5B67EC #985BEC #E05BEC
triadic
#985BEC #EC985B #5BEC98
tetradic
#985BEC #EC5B67 #AFEC5B #5BECE0
square
#985BEC #EC5B67 #AFEC5B #5BECE0
split-complementary
#985BEC #ECE05B #67EC5B
monochromatic
#5915B7 #7624E6 #985BEC #BA92F2 #DDC9F9

Accessibility & contrast

On white

4.16
#985BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#985BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BEC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BEC#FFFFFF#000000##000000
##985BEC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#857B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985bec;
/* rgb */ color: rgb(152, 91, 236);
/* oklch */ color: oklch(61.0% 0.210 299.5);
Tailwind
colors: {
  custom: {
    50: '#bb8cf3',
    500: '#985bec',
    950: '#000000',
  },
}
SCSS
$custom: #985bec;
$custom-light: #bb8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#985bec",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 265.241,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61,
    "c": 0.20983,
    "h": 299.5
  },
  "luminance": 0.20214
}

Semantic roles & 50–950 ramp

primary
#985BEC
secondary
#D5EBB8
accent
#DC0A83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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