#9858BF#9858BF

#9858BF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.163 H 311.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9858BF
RGBrgb(152, 88, 191)
HSLhsl(277, 45%, 55%)
HSVhsv(277, 54%, 75%)
CMYKcmyk(20.4%, 53.9%, 0%, 25.1%)
CIE-LABlab(48.78, 44.68, -43.91)
CIE-LCHlch(48.78, 62.65, 315.50°)
OKLaboklab(57.72% 0.1069 -0.123)
OKLCHoklch(57.72% 0.163 311)
XYZxyz(25.8409, 17.4170, 51.2806)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858BF #7FBF58
analogous
#6558BF #9858BF #BF58B2
triadic
#9858BF #BF9858 #58BF98
tetradic
#9858BF #BF6558 #7FBF58 #58B2BF
square
#9858BF #BF6558 #7FBF58 #58B2BF
split-complementary
#9858BF #B2BF58 #58BF65
monochromatic
#572B71 #793C9D #9858BF #B384D0 #CFB0E1

Accessibility & contrast

On white

4.68
#9858BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9858BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9858BF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858BF#FFFFFF#000000##FFFFFF
##9858BF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#936A83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9858bf;
/* rgb */ color: rgb(152, 88, 191);
/* oklch */ color: oklch(57.7% 0.163 311.0);
Tailwind
colors: {
  custom: {
    50: '#b989d3',
    500: '#9858bf',
    950: '#000000',
  },
}
SCSS
$custom: #9858bf;
$custom-light: #b989d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9858bf",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 277.282,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.16293,
    "h": 311
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#9858BF
secondary
#B4CFA4
accent
#D45484
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9858BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9858BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva