#9835C5#9835C5

#9835C5 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.217 H 312.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9835C5
RGBrgb(152, 53, 197)
HSLhsl(281, 58%, 49%)
HSVhsv(281, 73%, 77%)
CMYKcmyk(22.8%, 73.1%, 0%, 22.7%)
CIE-LABlab(43.14, 62.41, -56.43)
CIE-LCHlch(43.14, 84.14, 317.88°)
OKLaboklab(53.76% 0.1477 -0.1594)
OKLCHoklch(53.76% 0.217 312.8)
XYZxyz(24.2982, 13.2535, 54.0907)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C5 #62C535
analogous
#5035C5 #9835C5 #C535AA
triadic
#9835C5 #C59835 #35C598
tetradic
#9835C5 #C55035 #62C535 #35AAC5
square
#9835C5 #C55035 #62C535 #35AAC5
split-complementary
#9835C5 #AAC535 #35C550
monochromatic
#4E1B65 #732895 #9835C5 #B162D5 #C993E2

Accessibility & contrast

On white

5.75
#9835C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9835C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C5#FFFFFF#000000##FFFFFF
##9835C51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2568C2
Tritanopia (blue-blind)
#93557A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9835c5;
/* rgb */ color: rgb(152, 53, 197);
/* oklch */ color: oklch(53.8% 0.217 312.8);
Tailwind
colors: {
  custom: {
    50: '#bb76d7',
    500: '#9835c5',
    950: '#000000',
  },
}
SCSS
$custom: #9835c5;
$custom-light: #bb76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c5",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 281.25,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.21733,
    "h": 312.8
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#9835C5
secondary
#9ECD89
accent
#E14777
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9835C5

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

Preview Lab → · Contrast checker → · Palette generator →

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