#9835B0#9835B0

#9835B0 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.198 H 319.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9835B0
RGBrgb(152, 53, 176)
HSLhsl(288, 54%, 45%)
HSVhsv(288, 70%, 69%)
CMYKcmyk(13.6%, 69.9%, 0%, 31%)
CIE-LABlab(41.78, 58.22, -46.30)
CIE-LCHlch(41.78, 74.39, 321.50°)
OKLaboklab(52.35% 0.1498 -0.1297)
OKLCHoklch(52.35% 0.198 319.1)
XYZxyz(22.0574, 12.3572, 42.2892)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835B0 #4DB035
analogous
#5B35B0 #9835B0 #B0358A
triadic
#9835B0 #B09835 #35B098
tetradic
#9835B0 #B05B35 #4DB035 #358AB0
square
#9835B0 #B05B35 #4DB035 #358AB0
split-complementary
#9835B0 #8AB035 #35B05B
monochromatic
#471952 #6F2781 #9835B0 #B556CC #CA85DA

Accessibility & contrast

On white

6.05
#9835B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9835B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835B0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835B0#FFFFFF#000000##FFFFFF
##9835B01.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#984C6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9835b0;
/* rgb */ color: rgb(152, 53, 176);
/* oklch */ color: oklch(52.4% 0.198 319.1);
Tailwind
colors: {
  custom: {
    50: '#ba75c8',
    500: '#9835b0',
    950: '#000000',
  },
}
SCSS
$custom: #9835b0;
$custom-light: #ba75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9835b0",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 288.293,
    "s": 53.712,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.19817,
    "h": 319.1
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#9835B0
secondary
#8BC47D
accent
#DD4B67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9835B0

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

Preview Lab → · Contrast checker → · Palette generator →

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