#985BE2#985BE2

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

Color values

HEX#985BE2
RGBrgb(152, 91, 226)
HSLhsl(267, 70%, 62%)
HSVhsv(267, 60%, 89%)
CMYKcmyk(32.7%, 59.7%, 0%, 11.4%)
CIE-LABlab(51.44, 51.31, -59.67)
CIE-LCHlch(51.44, 78.70, 310.69°)
OKLaboklab(60.33% 0.1037 -0.1691)
OKLCHoklch(60.33% 0.198 301.5)
XYZxyz(30.4142, 19.6484, 74.1270)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE2 #A5E25B
analogous
#5B62E2 #985BE2 #DB5BE2
triadic
#985BE2 #E2985B #5BE298
tetradic
#985BE2 #E25B62 #A5E25B #5BE2DB
square
#985BE2 #E25B62 #A5E25B #5BE2DB
split-complementary
#985BE2 #E2DB5B #62E25B
monochromatic
#5B1DA5 #7727D9 #985BE2 #B98FEB #D9C3F4

Accessibility & contrast

On white

4.26
#985BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#985BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BE2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BE2#FFFFFF#000000##000000
##985BE21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#077AE6
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#897796
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985be2;
/* rgb */ color: rgb(152, 91, 226);
/* oklch */ color: oklch(60.3% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb8cec',
    500: '#985be2',
    950: '#000000',
  },
}
SCSS
$custom: #985be2;
$custom-light: #bb8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#985be2",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 267.111,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60331,
    "c": 0.19842,
    "h": 301.5
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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