#9835A4#9835A4

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

Color values

HEX#9835A4
RGBrgb(152, 53, 164)
HSLhsl(294, 51%, 43%)
HSVhsv(294, 68%, 64%)
CMYKcmyk(7.3%, 67.7%, 0%, 35.7%)
CIE-LABlab(41.06, 55.94, -40.31)
CIE-LCHlch(41.06, 68.95, 324.22°)
OKLaboklab(51.61% 0.1502 -0.1122)
OKLCHoklch(51.61% 0.187 323.2)
XYZxyz(20.9222, 11.9031, 36.3103)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835A4 #41A435
analogous
#6135A4 #9835A4 #A43578
triadic
#9835A4 #A49835 #35A498
tetradic
#9835A4 #A46135 #41A435 #3578A4
square
#9835A4 #A46135 #41A435 #3578A4
split-complementary
#9835A4 #78A435 #35A461
monochromatic
#421747 #6D2676 #9835A4 #BA50C6 #CC7ED5

Accessibility & contrast

On white

6.21
#9835A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9835A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835A4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835A4#FFFFFF#000000##FFFFFF
##9835A41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#9A4768
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9835a4;
/* rgb */ color: rgb(152, 53, 164);
/* oklch */ color: oklch(51.6% 0.187 323.2);
Tailwind
colors: {
  custom: {
    50: '#ba74bf',
    500: '#9835a4',
    950: '#000000',
  },
}
SCSS
$custom: #9835a4;
$custom-light: #ba74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9835a4",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 293.514,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.18747,
    "h": 323.2
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#9835A4
secondary
#7EBE76
accent
#DB4D5C
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9835A4

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

Preview Lab → · Contrast checker → · Palette generator →

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