#9858A2#9858A2

#9858A2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.2% C 0.131 H 322.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9858A2
RGBrgb(152, 88, 162)
HSLhsl(292, 30%, 49%)
HSVhsv(292, 46%, 64%)
CMYKcmyk(6.2%, 45.7%, 0%, 36.5%)
CIE-LABlab(47.32, 38.47, -29.26)
CIE-LCHlch(47.32, 48.33, 322.74°)
OKLaboklab(56.16% 0.1032 -0.0805)
OKLCHoklch(56.16% 0.131 322)
XYZxyz(22.9595, 16.2644, 36.1054)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858A2 #62A258
analogous
#7358A2 #9858A2 #A25887
triadic
#9858A2 #A29858 #58A298
tetradic
#9858A2 #A27358 #62A258 #5887A2
square
#9858A2 #A27358 #62A258 #5887A2
split-complementary
#9858A2 #87A258 #58A273
monochromatic
#4E2D53 #73427A #9858A2 #B17EB9 #C9A6CF

Accessibility & contrast

On white

4.94
#9858A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9858A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9858A2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858A2#FFFFFF#000000##FFFFFF
##9858A21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#9A6175
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9858a2;
/* rgb */ color: rgb(152, 88, 162);
/* oklch */ color: oklch(56.2% 0.131 322.0);
Tailwind
colors: {
  custom: {
    50: '#b889be',
    500: '#9858a2',
    950: '#000000',
  },
}
SCSS
$custom: #9858a2;
$custom-light: #b889be;
$custom-dark: #000000;
JSON
{
  "hex": "#9858a2",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 291.892,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.13092,
    "h": 322
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#9858A2
secondary
#9EBC99
accent
#C6626F
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #9858A2

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

Preview Lab → · Contrast checker → · Palette generator →

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