#9835C7#9835C7

#9835C7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.219 H 312.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9835C7
RGBrgb(152, 53, 199)
HSLhsl(281, 58%, 49%)
HSVhsv(281, 73%, 78%)
CMYKcmyk(23.6%, 73.4%, 0%, 22%)
CIE-LABlab(43.28, 62.82, -57.37)
CIE-LCHlch(43.28, 85.07, 317.60°)
OKLaboklab(53.9% 0.1474 -0.1622)
OKLCHoklch(53.9% 0.219 312.3)
XYZxyz(24.5289, 13.3458, 55.3056)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C7 #64C735
analogous
#4F35C7 #9835C7 #C735AD
triadic
#9835C7 #C79835 #35C798
tetradic
#9835C7 #C74F35 #64C735 #35ADC7
square
#9835C7 #C74F35 #64C735 #35ADC7
split-complementary
#9835C7 #ADC735 #35C74F
monochromatic
#4E1B66 #732897 #9835C7 #B164D6 #C994E2

Accessibility & contrast

On white

5.72
#9835C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9835C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C7#FFFFFF#000000##FFFFFF
##9835C71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#92567B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9835c7;
/* rgb */ color: rgb(152, 53, 199);
/* oklch */ color: oklch(53.9% 0.219 312.3);
Tailwind
colors: {
  custom: {
    50: '#bb76d9',
    500: '#9835c7',
    950: '#000000',
  },
}
SCSS
$custom: #9835c7;
$custom-light: #bb76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c7",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 280.685,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.21918,
    "h": 312.3
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#9835C7
secondary
#A0CE8A
accent
#E14778
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9835C7

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

Preview Lab → · Contrast checker → · Palette generator →

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