#9835B3#9835B3

#9835B3 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.5% C 0.201 H 318.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9835B3
RGBrgb(152, 53, 179)
HSLhsl(287, 54%, 45%)
HSVhsv(287, 70%, 70%)
CMYKcmyk(15.1%, 70.4%, 0%, 29.8%)
CIE-LABlab(41.96, 58.80, -47.78)
CIE-LCHlch(41.96, 75.76, 320.90°)
OKLaboklab(52.55% 0.1496 -0.1341)
OKLCHoklch(52.55% 0.201 318.1)
XYZxyz(22.3575, 12.4773, 43.8698)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835B3 #50B335
analogous
#5935B3 #9835B3 #B3358F
triadic
#9835B3 #B39835 #35B398
tetradic
#9835B3 #B35935 #50B335 #358FB3
square
#9835B3 #B35935 #50B335 #358FB3
split-complementary
#9835B3 #8FB335 #35B359
monochromatic
#481955 #702784 #9835B3 #B458CD #C987DB

Accessibility & contrast

On white

6.01
#9835B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9835B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835B3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835B3#FFFFFF#000000##FFFFFF
##9835B31.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#974D70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9835b3;
/* rgb */ color: rgb(152, 53, 179);
/* oklch */ color: oklch(52.5% 0.201 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba75ca',
    500: '#9835b3',
    950: '#000000',
  },
}
SCSS
$custom: #9835b3;
$custom-light: #ba75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9835b3",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 287.143,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.20089,
    "h": 318.1
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#9835B3
secondary
#8EC57F
accent
#DE4A6A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9835B3

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

Preview Lab → · Contrast checker → · Palette generator →

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