#9835DD#9835DD

#9835DD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.5% C 0.240 H 306.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9835DD
RGBrgb(152, 53, 221)
HSLhsl(275, 71%, 54%)
HSVhsv(275, 76%, 87%)
CMYKcmyk(31.2%, 76%, 0%, 13.3%)
CIE-LABlab(44.86, 67.45, -67.47)
CIE-LCHlch(44.86, 95.40, 314.99°)
OKLaboklab(55.51% 0.1434 -0.1919)
OKLCHoklch(55.51% 0.24 306.8)
XYZxyz(27.2703, 14.4424, 69.7436)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835DD #7ADD35
analogous
#4435DD #9835DD #DD35CE
triadic
#9835DD #DD9835 #35DD98
tetradic
#9835DD #DD4435 #7ADD35 #35CEDD
square
#9835DD #DD4435 #7ADD35 #35CEDD
split-complementary
#9835DD #CEDD35 #35DD44
monochromatic
#551682 #781FB6 #9835DD #B369E6 #CD9EEF

Accessibility & contrast

On white

5.40
#9835DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9835DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835DD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835DD#FFFFFF#000000##FFFFFF
##9835DD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#8C5F88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9835dd;
/* rgb */ color: rgb(152, 53, 221);
/* oklch */ color: oklch(55.5% 0.240 306.8);
Tailwind
colors: {
  custom: {
    50: '#bc77e9',
    500: '#9835dd',
    950: '#000000',
  },
}
SCSS
$custom: #9835dd;
$custom-light: #bc77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9835dd",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 221
  },
  "hsl": {
    "h": 275.357,
    "s": 71.186,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.23954,
    "h": 306.8
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#9835DD
secondary
#B0DB93
accent
#EE3A84
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9835DD

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

Preview Lab → · Contrast checker → · Palette generator →

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