#9832D3#9832D3

#9832D3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.5% C 0.233 H 309.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9832D3
RGBrgb(152, 50, 211)
HSLhsl(278, 65%, 51%)
HSVhsv(278, 76%, 83%)
CMYKcmyk(28%, 76.3%, 0%, 17.3%)
CIE-LABlab(43.74, 66.42, -63.56)
CIE-LCHlch(43.74, 91.93, 316.26°)
OKLaboklab(54.5% 0.148 -0.1804)
OKLCHoklch(54.5% 0.233 309.4)
XYZxyz(25.8450, 13.6603, 62.8906)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832D3 #6DD332
analogous
#4732D3 #9832D3 #D332BE
triadic
#9832D3 #D39832 #32D398
tetradic
#9832D3 #D34732 #6DD332 #32BED3
square
#9832D3 #D34732 #6DD332 #32BED3
split-complementary
#9832D3 #BED332 #32D347
monochromatic
#511872 #7523A4 #9832D3 #B164DE #CB97E9

Accessibility & contrast

On white

5.63
#9832D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9832D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832D3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832D3#FFFFFF#000000##FFFFFF
##9832D31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#8F5A82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9832d3;
/* rgb */ color: rgb(152, 50, 211);
/* oklch */ color: oklch(54.5% 0.233 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc75e1',
    500: '#9832d3',
    950: '#000000',
  },
}
SCSS
$custom: #9832d3;
$custom-light: #bc75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9832d3",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 211
  },
  "hsl": {
    "h": 278.012,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.23331,
    "h": 309.4
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#9832D3
secondary
#A7D48D
accent
#E8407E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9832D3

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

Preview Lab → · Contrast checker → · Palette generator →

#9832D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva