#9835BF#9835BF

#9835BF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.212 H 314.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9835BF
RGBrgb(152, 53, 191)
HSLhsl(283, 57%, 48%)
HSVhsv(283, 72%, 75%)
CMYKcmyk(20.4%, 72.3%, 0%, 25.1%)
CIE-LABlab(42.74, 61.19, -53.58)
CIE-LCHlch(42.74, 81.33, 318.79°)
OKLaboklab(53.35% 0.1485 -0.1511)
OKLCHoklch(53.35% 0.212 314.5)
XYZxyz(23.6244, 12.9840, 50.5418)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835BF #5CBF35
analogous
#5335BF #9835BF #BF35A1
triadic
#9835BF #BF9835 #35BF98
tetradic
#9835BF #BF5335 #5CBF35 #35A1BF
square
#9835BF #BF5335 #5CBF35 #35A1BF
split-complementary
#9835BF #A1BF35 #35BF53
monochromatic
#4C1A5F #72288F #9835BF #B25FD3 #C98FE0

Accessibility & contrast

On white

5.84
#9835BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9835BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835BF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835BF#FFFFFF#000000##FFFFFF
##9835BF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2E67BC
Tritanopia (blue-blind)
#955277
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9835bf;
/* rgb */ color: rgb(152, 53, 191);
/* oklch */ color: oklch(53.3% 0.212 314.5);
Tailwind
colors: {
  custom: {
    50: '#ba75d3',
    500: '#9835bf',
    950: '#000000',
  },
}
SCSS
$custom: #9835bf;
$custom-light: #ba75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9835bf",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 283.043,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.21182,
    "h": 314.5
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#9835BF
secondary
#99CA85
accent
#E04873
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9835BF

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

Preview Lab → · Contrast checker → · Palette generator →

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