#9835C8#9835C8

#9835C8 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.220 H 312.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9835C8
RGBrgb(152, 53, 200)
HSLhsl(280, 58%, 50%)
HSVhsv(280, 74%, 78%)
CMYKcmyk(24%, 73.5%, 0%, 21.6%)
CIE-LABlab(43.35, 63.02, -57.84)
CIE-LCHlch(43.35, 85.54, 317.46°)
OKLaboklab(53.97% 0.1473 -0.1636)
OKLCHoklch(53.97% 0.22 312)
XYZxyz(24.6454, 13.3924, 55.9191)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C8 #65C835
analogous
#4E35C8 #9835C8 #C835AF
triadic
#9835C8 #C89835 #35C898
tetradic
#9835C8 #C84E35 #65C835 #35AFC8
square
#9835C8 #C84E35 #65C835 #35AFC8
split-complementary
#9835C8 #AFC835 #35C84E
monochromatic
#4E1B67 #732898 #9835C8 #B164D6 #C995E3

Accessibility & contrast

On white

5.71
#9835C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9835C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C8#FFFFFF#000000##FFFFFF
##9835C81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2068C5
Tritanopia (blue-blind)
#92567C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9835c8;
/* rgb */ color: rgb(152, 53, 200);
/* oklch */ color: oklch(54.0% 0.220 312.0);
Tailwind
colors: {
  custom: {
    50: '#bb76d9',
    500: '#9835c8',
    950: '#000000',
  },
}
SCSS
$custom: #9835c8;
$custom-light: #bb76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c8",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 280.408,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.2201,
    "h": 312
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

primary
#9835C8
secondary
#A1CE8B
accent
#E14679
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9835C8

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

Preview Lab → · Contrast checker → · Palette generator →

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