#9835BC#9835BC

#9835BC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.209 H 315.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9835BC
RGBrgb(152, 53, 188)
HSLhsl(284, 56%, 47%)
HSVhsv(284, 72%, 74%)
CMYKcmyk(19.1%, 71.8%, 0%, 26.3%)
CIE-LABlab(42.54, 60.58, -52.14)
CIE-LCHlch(42.54, 79.93, 319.28°)
OKLaboklab(53.14% 0.1488 -0.1469)
OKLCHoklch(53.14% 0.209 315.4)
XYZxyz(23.2976, 12.8533, 48.8209)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835BC #59BC35
analogous
#5435BC #9835BC #BC359D
triadic
#9835BC #BC9835 #35BC98
tetradic
#9835BC #BC5435 #59BC35 #359DBC
square
#9835BC #BC5435 #59BC35 #359DBC
split-complementary
#9835BC #9DBC35 #35BC54
monochromatic
#4B1A5D #71288C #9835BC #B25DD1 #C98DDF

Accessibility & contrast

On white

5.88
#9835BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9835BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835BC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835BC#FFFFFF#000000##FFFFFF
##9835BC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#955175
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9835bc;
/* rgb */ color: rgb(152, 53, 188);
/* oklch */ color: oklch(53.1% 0.209 315.4);
Tailwind
colors: {
  custom: {
    50: '#ba75d1',
    500: '#9835bc',
    950: '#000000',
  },
}
SCSS
$custom: #9835bc;
$custom-light: #ba75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9835bc",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 284,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.20907,
    "h": 315.4
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#9835BC
secondary
#96C984
accent
#DF4871
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9835BC

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

Preview Lab → · Contrast checker → · Palette generator →

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