#9835A3#9835A3

#9835A3 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.187 H 323.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9835A3
RGBrgb(152, 53, 163)
HSLhsl(294, 51%, 42%)
HSVhsv(294, 67%, 64%)
CMYKcmyk(6.7%, 67.5%, 0%, 36.1%)
CIE-LABlab(41.00, 55.76, -39.80)
CIE-LCHlch(41.00, 68.51, 324.48°)
OKLaboklab(51.55% 0.1502 -0.1108)
OKLCHoklch(51.55% 0.187 323.6)
XYZxyz(20.8323, 11.8672, 35.8365)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835A3 #40A335
analogous
#6135A3 #9835A3 #A33577
triadic
#9835A3 #A39835 #35A398
tetradic
#9835A3 #A36135 #40A335 #3577A3
square
#9835A3 #A36135 #40A335 #3577A3
split-complementary
#9835A3 #77A335 #35A361
monochromatic
#421747 #6D2675 #9835A3 #BA4FC6 #CC7ED5

Accessibility & contrast

On white

6.23
#9835A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9835A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835A3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835A3#FFFFFF#000000##FFFFFF
##9835A31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#9B4768
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9835a3;
/* rgb */ color: rgb(152, 53, 163);
/* oklch */ color: oklch(51.5% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#b974bf',
    500: '#9835a3',
    950: '#000000',
  },
}
SCSS
$custom: #9835a3;
$custom-light: #b974bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9835a3",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 294,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51549,
    "c": 0.18659,
    "h": 323.6
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#9835A3
secondary
#7DBE76
accent
#DA4D5B
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9835A3

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

Preview Lab → · Contrast checker → · Palette generator →

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