#9835C0#9835C0

#9835C0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.213 H 314.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9835C0
RGBrgb(152, 53, 192)
HSLhsl(283, 57%, 48%)
HSVhsv(283, 72%, 75%)
CMYKcmyk(20.8%, 72.4%, 0%, 24.7%)
CIE-LABlab(42.81, 61.39, -54.06)
CIE-LCHlch(42.81, 81.80, 318.63°)
OKLaboklab(53.41% 0.1484 -0.1525)
OKLCHoklch(53.41% 0.213 314.2)
XYZxyz(23.7348, 13.0282, 51.1234)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835C0 #5DC035
analogous
#5235C0 #9835C0 #C035A2
triadic
#9835C0 #C09835 #35C098
tetradic
#9835C0 #C05235 #5DC035 #35A2C0
square
#9835C0 #C05235 #5DC035 #35A2C0
split-complementary
#9835C0 #A2C035 #35C052
monochromatic
#4C1B60 #722890 #9835C0 #B25FD3 #C98FE0

Accessibility & contrast

On white

5.82
#9835C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9835C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835C0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835C0#FFFFFF#000000##FFFFFF
##9835C01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#2D67BD
Tritanopia (blue-blind)
#945378
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9835c0;
/* rgb */ color: rgb(152, 53, 192);
/* oklch */ color: oklch(53.4% 0.213 314.2);
Tailwind
colors: {
  custom: {
    50: '#bb75d4',
    500: '#9835c0',
    950: '#000000',
  },
}
SCSS
$custom: #9835c0;
$custom-light: #bb75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9835c0",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 282.734,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.21274,
    "h": 314.2
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#9835C0
secondary
#9ACB86
accent
#E04874
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9835C0

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

Preview Lab → · Contrast checker → · Palette generator →

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