#985BE3#985BE3

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

Color values

HEX#985BE3
RGBrgb(152, 91, 227)
HSLhsl(267, 71%, 62%)
HSVhsv(267, 60%, 89%)
CMYKcmyk(33%, 59.9%, 0%, 11%)
CIE-LABlab(51.50, 51.56, -60.13)
CIE-LCHlch(51.50, 79.21, 310.61°)
OKLaboklab(60.4% 0.1037 -0.1705)
OKLCHoklch(60.4% 0.2 301.3)
XYZxyz(30.5518, 19.7035, 74.8517)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BE3 #A6E35B
analogous
#5B62E3 #985BE3 #DC5BE3
triadic
#985BE3 #E3985B #5BE398
tetradic
#985BE3 #E35B62 #A6E35B #5BE3DC
square
#985BE3 #E35B62 #A6E35B #5BE3DC
split-complementary
#985BE3 #E3DC5B #62E35B
monochromatic
#5B1DA7 #7727DA #985BE3 #B98FEC #DAC4F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985BE3#FFFFFF#000000##000000
##985BE31.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)
#027AE7
Deuteranopia (green-blind)
#317AE0
Tritanopia (blue-blind)
#897797
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985be3;
/* rgb */ color: rgb(152, 91, 227);
/* oklch */ color: oklch(60.4% 0.200 301.3);
Tailwind
colors: {
  custom: {
    50: '#bb8cec',
    500: '#985be3',
    950: '#000000',
  },
}
SCSS
$custom: #985be3;
$custom-light: #bb8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#985be3",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 266.912,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.19956,
    "h": 301.3
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#985BE3
secondary
#CFE6B4
accent
#D3137D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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