#9835BE#9835BE

#9835BE is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.211 H 314.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9835BE
RGBrgb(152, 53, 190)
HSLhsl(283, 56%, 48%)
HSVhsv(283, 72%, 75%)
CMYKcmyk(20%, 72.1%, 0%, 25.5%)
CIE-LABlab(42.67, 60.98, -53.10)
CIE-LCHlch(42.67, 80.86, 318.95°)
OKLaboklab(53.28% 0.1486 -0.1497)
OKLCHoklch(53.28% 0.211 314.8)
XYZxyz(23.5147, 12.9401, 49.9642)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835BE #5BBE35
analogous
#5435BE #9835BE #BE359F
triadic
#9835BE #BE9835 #35BE98
tetradic
#9835BE #BE5435 #5BBE35 #359FBE
square
#9835BE #BE5435 #5BBE35 #359FBE
split-complementary
#9835BE #9FBE35 #35BE54
monochromatic
#4B1A5E #72288E #9835BE #B25ED2 #C98EDF

Accessibility & contrast

On white

5.85
#9835BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9835BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835BE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835BE#FFFFFF#000000##FFFFFF
##9835BE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#955276
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9835be;
/* rgb */ color: rgb(152, 53, 190);
/* oklch */ color: oklch(53.3% 0.211 314.8);
Tailwind
colors: {
  custom: {
    50: '#ba75d2',
    500: '#9835be',
    950: '#000000',
  },
}
SCSS
$custom: #9835be;
$custom-light: #ba75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9835be",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 283.358,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.2109,
    "h": 314.8
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#9835BE
secondary
#98CA85
accent
#E04872
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9835BE

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

Preview Lab → · Contrast checker → · Palette generator →

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