#9835FF#9835FF

#9835FF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 58.2% C 0.271 H 299.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9835FF
RGBrgb(152, 53, 255)
HSLhsl(269, 100%, 60%)
HSVhsv(269, 79%, 100%)
CMYKcmyk(40.4%, 79.2%, 0%, 0%)
CIE-LABlab(47.55, 74.89, -82.25)
CIE-LCHlch(47.55, 111.24, 312.32°)
OKLaboklab(58.22% 0.1346 -0.2353)
OKLCHoklch(58.22% 0.271 299.8)
XYZxyz(32.2674, 16.4412, 96.0618)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835FF #9CFF35
analogous
#3537FF #9835FF #FD35FF
triadic
#9835FF #FF9835 #35FF98
tetradic
#9835FF #FF3537 #9CFF35 #35FFFD
square
#9835FF #FF3537 #9CFF35 #35FFFD
split-complementary
#9835FF #FFFD35 #37FF35
monochromatic
#5B00BA #7900F7 #9835FF #B772FF #D6AFFF

Accessibility & contrast

On white

4.90
#9835FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9835FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835FF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835FF#FFFFFF#000000##FFFFFF
##9835FF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#006FFB
Tritanopia (blue-blind)
#7F6E9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9835ff;
/* rgb */ color: rgb(152, 53, 255);
/* oklch */ color: oklch(58.2% 0.271 299.8);
Tailwind
colors: {
  custom: {
    50: '#bf78ff',
    500: '#9835ff',
    950: '#000000',
  },
}
SCSS
$custom: #9835ff;
$custom-light: #bf78ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9835ff",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 255
  },
  "hsl": {
    "h": 269.406,
    "s": 100,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5822,
    "c": 0.2711,
    "h": 299.8
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#9835FF
secondary
#C9EEA1
accent
#E60075
background
#FCF7FF
surface
#F8EEFF
border
#D1C9D7
text
#130A18
muted
#827C86

Preview Lab

Preview with #9835FF

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

Preview Lab → · Contrast checker → · Palette generator →

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