#9835C9#9835C9

#9835C9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.221 H 311.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9835C9
RGBrgb(152, 53, 201)
HSLhsl(280, 58%, 50%)
HSVhsv(280, 74%, 79%)
CMYKcmyk(24.4%, 73.6%, 0%, 21.2%)
CIE-LABlab(43.42, 63.23, -58.31)
CIE-LCHlch(43.42, 86.01, 317.32°)
OKLaboklab(54.04% 0.1471 -0.165)
OKLCHoklch(54.04% 0.221 311.7)
XYZxyz(24.7626, 13.4393, 56.5366)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C9 #66C935
analogous
#4E35C9 #9835C9 #C935B0
triadic
#9835C9 #C99835 #35C998
tetradic
#9835C9 #C94E35 #66C935 #35B0C9
square
#9835C9 #C94E35 #66C935 #35B0C9
split-complementary
#9835C9 #B0C935 #35C94E
monochromatic
#4F1B68 #732899 #9835C9 #B165D6 #C995E3

Accessibility & contrast

On white

5.69
#9835C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9835C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C9#FFFFFF#000000##FFFFFF
##9835C91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#1E68C6
Tritanopia (blue-blind)
#92577D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9835c9;
/* rgb */ color: rgb(152, 53, 201);
/* oklch */ color: oklch(54.0% 0.221 311.7);
Tailwind
colors: {
  custom: {
    50: '#bb76da',
    500: '#9835c9',
    950: '#000000',
  },
}
SCSS
$custom: #9835c9;
$custom-light: #bb76da;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c9",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 280.135,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.22103,
    "h": 311.7
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#9835C9
secondary
#A2CE8B
accent
#E1467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9835C9

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

Preview Lab → · Contrast checker → · Palette generator →

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