#9834DE#9834DE

#9834DE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.5% C 0.241 H 306.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9834DE
RGBrgb(152, 52, 222)
HSLhsl(275, 72%, 54%)
HSVhsv(275, 77%, 87%)
CMYKcmyk(31.5%, 76.6%, 0%, 12.9%)
CIE-LABlab(44.81, 68.03, -68.13)
CIE-LCHlch(44.81, 96.27, 314.96°)
OKLaboklab(55.5% 0.144 -0.1938)
OKLCHoklch(55.5% 0.241 306.6)
XYZxyz(27.3588, 14.4056, 70.4323)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834DE #7ADE34
analogous
#4334DE #9834DE #DE34CF
triadic
#9834DE #DE9834 #34DE98
tetradic
#9834DE #DE4334 #7ADE34 #34CFDE
square
#9834DE #DE4334 #7ADE34 #34CFDE
split-complementary
#9834DE #CFDE34 #34DE43
monochromatic
#551582 #781EB7 #9834DE #B369E7 #CD9DEF

Accessibility & contrast

On white

5.41
#9834DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9834DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834DE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834DE#FFFFFF#000000##FFFFFF
##9834DE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9834de;
/* rgb */ color: rgb(152, 52, 222);
/* oklch */ color: oklch(55.5% 0.241 306.6);
Tailwind
colors: {
  custom: {
    50: '#bc76e9',
    500: '#9834de',
    950: '#000000',
  },
}
SCSS
$custom: #9834de;
$custom-light: #bc76e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9834de",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 222
  },
  "hsl": {
    "h": 275.294,
    "s": 72.034,
    "l": 53.725
  },
  "oklch": {
    "l": 0.555,
    "c": 0.24144,
    "h": 306.6
  },
  "luminance": 0.14405
}

Semantic roles & 50–950 ramp

primary
#9834DE
secondary
#B0DB93
accent
#EF3984
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9834DE

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

Preview Lab → · Contrast checker → · Palette generator →

#9834DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva