#9835AF#9835AF

#9835AF is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 319.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9835AF
RGBrgb(152, 53, 175)
HSLhsl(289, 54%, 45%)
HSVhsv(289, 70%, 69%)
CMYKcmyk(13.1%, 69.7%, 0%, 31.4%)
CIE-LABlab(41.72, 58.02, -45.81)
CIE-LCHlch(41.72, 73.93, 321.71°)
OKLaboklab(52.29% 0.1498 -0.1283)
OKLCHoklch(52.29% 0.197 319.4)
XYZxyz(21.9589, 12.3178, 41.7700)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835AF #4CAF35
analogous
#5B35AF #9835AF #AF3589
triadic
#9835AF #AF9835 #35AF98
tetradic
#9835AF #AF5B35 #4CAF35 #3589AF
square
#9835AF #AF5B35 #4CAF35 #3589AF
split-complementary
#9835AF #89AF35 #35AF5B
monochromatic
#461951 #6F2780 #9835AF #B556CC #CA85DA

Accessibility & contrast

On white

6.06
#9835AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9835AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835AF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835AF#FFFFFF#000000##FFFFFF
##9835AF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#984C6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9835af;
/* rgb */ color: rgb(152, 53, 175);
/* oklch */ color: oklch(52.3% 0.197 319.4);
Tailwind
colors: {
  custom: {
    50: '#ba75c7',
    500: '#9835af',
    950: '#000000',
  },
}
SCSS
$custom: #9835af;
$custom-light: #ba75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9835af",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 288.689,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.19727,
    "h": 319.4
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#9835AF
secondary
#8AC47C
accent
#DD4B66
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9835AF

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

Preview Lab → · Contrast checker → · Palette generator →

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