#9835E8#9835E8

#9835E8 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.4% C 0.250 H 304.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9835E8
RGBrgb(152, 53, 232)
HSLhsl(273, 80%, 56%)
HSVhsv(273, 77%, 91%)
CMYKcmyk(34.5%, 77.2%, 0%, 9%)
CIE-LABlab(45.70, 69.82, -72.36)
CIE-LCHlch(45.70, 100.55, 313.98°)
OKLaboklab(56.36% 0.1408 -0.2062)
OKLCHoklch(56.36% 0.25 304.3)
XYZxyz(28.7841, 15.0479, 77.7164)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835E8 #85E835
analogous
#3E35E8 #9835E8 #E835DF
triadic
#9835E8 #E89835 #35E898
tetradic
#9835E8 #E83E35 #85E835 #35DFE8
square
#9835E8 #E83E35 #85E835 #35DFE8
split-complementary
#9835E8 #DFE835 #35E83E
monochromatic
#581192 #7917C9 #9835E8 #B46CEE #D0A3F5

Accessibility & contrast

On white

5.24
#9835E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9835E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835E8#FFFFFF#000000##FFFFFF
##9835E81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#88648E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9835e8;
/* rgb */ color: rgb(152, 53, 232);
/* oklch */ color: oklch(56.4% 0.250 304.3);
Tailwind
colors: {
  custom: {
    50: '#bd77f0',
    500: '#9835e8',
    950: '#000000',
  },
}
SCSS
$custom: #9835e8;
$custom-light: #bd77f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9835e8",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 232
  },
  "hsl": {
    "h": 273.184,
    "s": 79.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.24975,
    "h": 304.3
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#9835E8
secondary
#B8E197
accent
#F63289
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9835E8

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

Preview Lab → · Contrast checker → · Palette generator →

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