#9835C2#9835C2

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

Color values

HEX#9835C2
RGBrgb(152, 53, 194)
HSLhsl(282, 57%, 48%)
HSVhsv(282, 73%, 76%)
CMYKcmyk(21.6%, 72.7%, 0%, 23.9%)
CIE-LABlab(42.94, 61.79, -55.01)
CIE-LCHlch(42.94, 82.73, 318.32°)
OKLaboklab(53.55% 0.1481 -0.1553)
OKLCHoklch(53.55% 0.215 313.6)
XYZxyz(23.9579, 13.1174, 52.2984)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C2 #5FC235
analogous
#5235C2 #9835C2 #C235A5
triadic
#9835C2 #C29835 #35C298
tetradic
#9835C2 #C25235 #5FC235 #35A5C2
square
#9835C2 #C25235 #5FC235 #35A5C2
split-complementary
#9835C2 #A5C235 #35C252
monochromatic
#4D1B62 #722892 #9835C2 #B160D4 #C991E1

Accessibility & contrast

On white

5.80
#9835C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9835C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C2#FFFFFF#000000##FFFFFF
##9835C21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#945479
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9835c2;
/* rgb */ color: rgb(152, 53, 194);
/* oklch */ color: oklch(53.6% 0.215 313.6);
Tailwind
colors: {
  custom: {
    50: '#bb76d5',
    500: '#9835c2',
    950: '#000000',
  },
}
SCSS
$custom: #9835c2;
$custom-light: #bb76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c2",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 282.128,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.21457,
    "h": 313.6
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#9835C2
secondary
#9CCC87
accent
#E04775
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9835C2

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

Preview Lab → · Contrast checker → · Palette generator →

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