#9828B3#9828B3

#9828B3 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.215 H 318.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9828B3
RGBrgb(152, 40, 179)
HSLhsl(288, 63%, 43%)
HSVhsv(288, 78%, 70%)
CMYKcmyk(15.1%, 77.7%, 0%, 29.8%)
CIE-LABlab(40.33, 63.48, -50.41)
CIE-LCHlch(40.33, 81.06, 321.55°)
OKLaboklab(51.38% 0.1618 -0.1417)
OKLCHoklch(51.38% 0.215 318.8)
XYZxyz(21.8433, 11.4487, 43.6983)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9828B3 #43B328
analogous
#5228B3 #9828B3 #B32889
triadic
#9828B3 #B39828 #28B398
tetradic
#9828B3 #B35228 #43B328 #2889B3
square
#9828B3 #B35228 #43B328 #2889B3
split-complementary
#9828B3 #89B328 #28B352
monochromatic
#43124F #6E1D81 #9828B3 #B943D5 #CB75E0

Accessibility & contrast

On white

6.38
#9828B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9828B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9828B3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9828B3#FFFFFF#000000##FFFFFF
##9828B31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#3163B0
Tritanopia (blue-blind)
#98466D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9828b3;
/* rgb */ color: rgb(152, 40, 179);
/* oklch */ color: oklch(51.4% 0.215 318.8);
Tailwind
colors: {
  custom: {
    50: '#bb6fca',
    500: '#9828b3',
    950: '#000000',
  },
}
SCSS
$custom: #9828b3;
$custom-light: #bb6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9828b3",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 288.345,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.21508,
    "h": 318.8
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#9828B3
secondary
#80C86F
accent
#E64161
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9828B3

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

Preview Lab → · Contrast checker → · Palette generator →

#9828B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva