#9834D1#9834D1

#9834D1 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.5% C 0.229 H 309.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9834D1
RGBrgb(152, 52, 209)
HSLhsl(278, 63%, 51%)
HSVhsv(278, 75%, 82%)
CMYKcmyk(27.3%, 75.1%, 0%, 18%)
CIE-LABlab(43.85, 65.27, -62.23)
CIE-LCHlch(43.85, 90.18, 316.37°)
OKLaboklab(54.53% 0.1467 -0.1765)
OKLCHoklch(54.53% 0.229 309.7)
XYZxyz(25.6832, 13.7354, 61.6075)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834D1 #6DD134
analogous
#4934D1 #9834D1 #D134BB
triadic
#9834D1 #D19834 #34D198
tetradic
#9834D1 #D14934 #6DD134 #34BBD1
square
#9834D1 #D14934 #6DD134 #34BBD1
split-complementary
#9834D1 #BBD134 #34D149
monochromatic
#511A71 #7525A3 #9834D1 #B166DC #CB98E8

Accessibility & contrast

On white

5.60
#9834D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9834D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834D1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834D1#FFFFFF#000000##FFFFFF
##9834D11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0069CE
Tritanopia (blue-blind)
#905A81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9834d1;
/* rgb */ color: rgb(152, 52, 209);
/* oklch */ color: oklch(54.5% 0.229 309.7);
Tailwind
colors: {
  custom: {
    50: '#bb76e0',
    500: '#9834d1',
    950: '#000000',
  },
}
SCSS
$custom: #9834d1;
$custom-light: #bb76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9834d1",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 278.217,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.22945,
    "h": 309.7
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

primary
#9834D1
secondary
#A7D38E
accent
#E6427D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9834D1

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

Preview Lab → · Contrast checker → · Palette generator →

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