#985BEB#985BEB

#985BEB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.209 H 299.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#985BEB
RGBrgb(152, 91, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 61%, 92%)
CMYKcmyk(35.3%, 61.3%, 0%, 7.8%)
CIE-LABlab(52.01, 53.52, -63.81)
CIE-LCHlch(52.01, 83.28, 309.99°)
OKLaboklab(60.93% 0.1034 -0.1813)
OKLCHoklch(60.93% 0.209 299.7)
XYZxyz(31.6817, 20.1554, 80.8024)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BEB #AEEB5B
analogous
#5B66EB #985BEB #E05BEB
triadic
#985BEB #EB985B #5BEB98
tetradic
#985BEB #EB5B66 #AEEB5B #5BEBE0
square
#985BEB #EB5B66 #AEEB5B #5BEBE0
split-complementary
#985BEB #EBE05B #66EB5B
monochromatic
#5A16B5 #7624E4 #985BEB #BA92F2 #DDC8F8

Accessibility & contrast

On white

4.17
#985BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#985BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BEB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BEB#FFFFFF#000000##000000
##985BEB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#867A9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985beb;
/* rgb */ color: rgb(152, 91, 235);
/* oklch */ color: oklch(60.9% 0.209 299.7);
Tailwind
colors: {
  custom: {
    50: '#bb8cf2',
    500: '#985beb',
    950: '#000000',
  },
}
SCSS
$custom: #985beb;
$custom-light: #bb8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#985beb",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 265.417,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.20869,
    "h": 299.7
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#985BEB
secondary
#D5EAB8
accent
#DB0B83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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