#9835C4#9835C4

#9835C4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.216 H 313.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9835C4
RGBrgb(152, 53, 196)
HSLhsl(282, 57%, 49%)
HSVhsv(282, 73%, 77%)
CMYKcmyk(22.4%, 73%, 0%, 23.1%)
CIE-LABlab(43.07, 62.20, -55.96)
CIE-LCHlch(43.07, 83.67, 318.03°)
OKLaboklab(53.69% 0.1478 -0.158)
OKLCHoklch(53.69% 0.216 313.1)
XYZxyz(24.1840, 13.2079, 53.4893)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C4 #61C435
analogous
#5035C4 #9835C4 #C435A9
triadic
#9835C4 #C49835 #35C498
tetradic
#9835C4 #C45035 #61C435 #35A9C4
square
#9835C4 #C45035 #61C435 #35A9C4
split-complementary
#9835C4 #A9C435 #35C450
monochromatic
#4D1B64 #732894 #9835C4 #B162D4 #C992E1

Accessibility & contrast

On white

5.77
#9835C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9835C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C4#FFFFFF#000000##FFFFFF
##9835C41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#93557A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9835c4;
/* rgb */ color: rgb(152, 53, 196);
/* oklch */ color: oklch(53.7% 0.216 313.1);
Tailwind
colors: {
  custom: {
    50: '#bb76d7',
    500: '#9835c4',
    950: '#000000',
  },
}
SCSS
$custom: #9835c4;
$custom-light: #bb76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c4",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 281.538,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.21641,
    "h": 313.1
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9835C4

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

Preview Lab → · Contrast checker → · Palette generator →

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