#9835CC#9835CC

#9835CC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.224 H 310.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9835CC
RGBrgb(152, 53, 204)
HSLhsl(279, 60%, 50%)
HSVhsv(279, 74%, 80%)
CMYKcmyk(25.5%, 74%, 0%, 20%)
CIE-LABlab(43.63, 63.85, -59.70)
CIE-LCHlch(43.63, 87.42, 316.92°)
OKLaboklab(54.26% 0.1466 -0.1691)
OKLCHoklch(54.26% 0.224 310.9)
XYZxyz(25.1190, 13.5818, 58.4134)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835CC #69CC35
analogous
#4C35CC #9835CC #CC35B4
triadic
#9835CC #CC9835 #35CC98
tetradic
#9835CC #CC4C35 #69CC35 #35B4CC
square
#9835CC #CC4C35 #69CC35 #35B4CC
split-complementary
#9835CC #B4CC35 #35CC4C
monochromatic
#501B6B #74279C #9835CC #B166D8 #CA97E5

Accessibility & contrast

On white

5.65
#9835CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9835CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835CC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835CC#FFFFFF#000000##FFFFFF
##9835CC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#1769C9
Tritanopia (blue-blind)
#91587E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9835cc;
/* rgb */ color: rgb(152, 53, 204);
/* oklch */ color: oklch(54.3% 0.224 310.9);
Tailwind
colors: {
  custom: {
    50: '#bb76dc',
    500: '#9835cc',
    950: '#000000',
  },
}
SCSS
$custom: #9835cc;
$custom-light: #bb76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9835cc",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 279.338,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.22379,
    "h": 310.9
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#9835CC
secondary
#A4D08D
accent
#E3457B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9835CC

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

Preview Lab → · Contrast checker → · Palette generator →

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