#9835C3#9835C3

#9835C3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.215 H 313.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9835C3
RGBrgb(152, 53, 195)
HSLhsl(282, 57%, 49%)
HSVhsv(282, 73%, 76%)
CMYKcmyk(22.1%, 72.8%, 0%, 23.5%)
CIE-LABlab(43.01, 62.00, -55.48)
CIE-LCHlch(43.01, 83.20, 318.17°)
OKLaboklab(53.62% 0.148 -0.1567)
OKLCHoklch(53.62% 0.215 313.4)
XYZxyz(24.0706, 13.1625, 52.8918)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C3 #60C335
analogous
#5135C3 #9835C3 #C335A7
triadic
#9835C3 #C39835 #35C398
tetradic
#9835C3 #C35135 #60C335 #35A7C3
square
#9835C3 #C35135 #60C335 #35A7C3
split-complementary
#9835C3 #A7C335 #35C351
monochromatic
#4D1B63 #722893 #9835C3 #B161D4 #C991E1

Accessibility & contrast

On white

5.78
#9835C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9835C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C3#FFFFFF#000000##FFFFFF
##9835C31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#935479
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9835c3;
/* rgb */ color: rgb(152, 53, 195);
/* oklch */ color: oklch(53.6% 0.215 313.4);
Tailwind
colors: {
  custom: {
    50: '#bb76d6',
    500: '#9835c3',
    950: '#000000',
  },
}
SCSS
$custom: #9835c3;
$custom-light: #bb76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c3",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 281.831,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.21549,
    "h": 313.4
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#9835C3
secondary
#9CCC88
accent
#E14776
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9835C3

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

Preview Lab → · Contrast checker → · Palette generator →

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