#9830BB#9830BB

#9830BB is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.214 H 316.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9830BB
RGBrgb(152, 48, 187)
HSLhsl(285, 59%, 46%)
HSVhsv(285, 74%, 73%)
CMYKcmyk(18.7%, 74.3%, 0%, 26.7%)
CIE-LABlab(41.81, 62.28, -52.73)
CIE-LCHlch(41.81, 81.60, 319.74°)
OKLaboklab(52.6% 0.1537 -0.1486)
OKLCHoklch(52.6% 0.214 316)
XYZxyz(22.9741, 12.3781, 48.1831)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830BB #53BB30
analogous
#5230BB #9830BB #BB3098
triadic
#9830BB #BB9830 #30BB98
tetradic
#9830BB #BB5230 #53BB30 #3098BB
square
#9830BB #BB5230 #53BB30 #3098BB
split-complementary
#9830BB #98BB30 #30BB52
monochromatic
#49175A #70238A #9830BB #B355D3 #C986E0

Accessibility & contrast

On white

6.04
#9830BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9830BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830BB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830BB#FFFFFF#000000##FFFFFF
##9830BB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#2E65B8
Tritanopia (blue-blind)
#964E73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9830bb;
/* rgb */ color: rgb(152, 48, 187);
/* oklch */ color: oklch(52.6% 0.214 316.0);
Tailwind
colors: {
  custom: {
    50: '#bb73d0',
    500: '#9830bb',
    950: '#000000',
  },
}
SCSS
$custom: #9830bb;
$custom-light: #bb73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9830bb",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 284.892,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.21378,
    "h": 316
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#9830BB
secondary
#91C97D
accent
#E2456D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9830BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9830BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva