#9835BD#9835BD

#9835BD is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.210 H 315.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9835BD
RGBrgb(152, 53, 189)
HSLhsl(284, 56%, 47%)
HSVhsv(284, 72%, 74%)
CMYKcmyk(19.6%, 72%, 0%, 25.9%)
CIE-LABlab(42.61, 60.78, -52.62)
CIE-LCHlch(42.61, 80.40, 319.11°)
OKLaboklab(53.21% 0.1487 -0.1483)
OKLCHoklch(53.21% 0.21 315.1)
XYZxyz(23.4058, 12.8966, 49.3906)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835BD #5ABD35
analogous
#5435BD #9835BD #BD359E
triadic
#9835BD #BD9835 #35BD98
tetradic
#9835BD #BD5435 #5ABD35 #359EBD
square
#9835BD #BD5435 #5ABD35 #359EBD
split-complementary
#9835BD #9EBD35 #35BD54
monochromatic
#4B1A5D #72288D #9835BD #B25DD2 #C98DDF

Accessibility & contrast

On white

5.87
#9835BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9835BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835BD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835BD#FFFFFF#000000##FFFFFF
##9835BD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#955276
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9835bd;
/* rgb */ color: rgb(152, 53, 189);
/* oklch */ color: oklch(53.2% 0.210 315.1);
Tailwind
colors: {
  custom: {
    50: '#ba75d2',
    500: '#9835bd',
    950: '#000000',
  },
}
SCSS
$custom: #9835bd;
$custom-light: #ba75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9835bd",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 283.676,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.20999,
    "h": 315.1
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#9835BD
secondary
#97CA84
accent
#DF4871
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9835BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9835BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva