#9858BE#9858BE

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

Color values

HEX#9858BE
RGBrgb(152, 88, 190)
HSLhsl(278, 44%, 55%)
HSVhsv(278, 54%, 75%)
CMYKcmyk(20%, 53.7%, 0%, 25.5%)
CIE-LABlab(48.73, 44.46, -43.42)
CIE-LCHlch(48.73, 62.15, 315.68°)
OKLaboklab(57.67% 0.1068 -0.1215)
OKLCHoklch(57.67% 0.162 311.3)
XYZxyz(25.7312, 17.3731, 50.7031)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858BE #7EBE58
analogous
#6558BE #9858BE #BE58B1
triadic
#9858BE #BE9858 #58BE98
tetradic
#9858BE #BE6558 #7EBE58 #58B1BE
square
#9858BE #BE6558 #7EBE58 #58B1BE
split-complementary
#9858BE #B1BE58 #58BE65
monochromatic
#572C70 #793D9C #9858BE #B384CF #CEB0E0

Accessibility & contrast

On white

4.69
#9858BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9858BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9858BE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858BE#FFFFFF#000000##FFFFFF
##9858BE1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C1
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#946983
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9858be;
/* rgb */ color: rgb(152, 88, 190);
/* oklch */ color: oklch(57.7% 0.162 311.3);
Tailwind
colors: {
  custom: {
    50: '#b989d2',
    500: '#9858be',
    950: '#000000',
  },
}
SCSS
$custom: #9858be;
$custom-light: #b989d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9858be",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 277.647,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.16181,
    "h": 311.3
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#9858BE
secondary
#B3CEA3
accent
#D45484
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9858BE

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

Preview Lab → · Contrast checker → · Palette generator →

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