#9830B5#9830B5

#9830B5 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.208 H 317.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9830B5
RGBrgb(152, 48, 181)
HSLhsl(287, 58%, 45%)
HSVhsv(287, 73%, 71%)
CMYKcmyk(16%, 73.5%, 0%, 29%)
CIE-LABlab(41.42, 61.11, -49.84)
CIE-LCHlch(41.42, 78.85, 320.80°)
OKLaboklab(52.2% 0.1544 -0.1401)
OKLCHoklch(52.2% 0.208 317.8)
XYZxyz(22.3451, 12.1265, 44.8707)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830B5 #4DB530
analogous
#5530B5 #9830B5 #B53090
triadic
#9830B5 #B59830 #30B598
tetradic
#9830B5 #B55530 #4DB530 #3090B5
square
#9830B5 #B55530 #4DB530 #3090B5
split-complementary
#9830B5 #90B530 #30B555
monochromatic
#471654 #6F2385 #9830B5 #B551D1 #CA82DE

Accessibility & contrast

On white

6.13
#9830B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9830B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830B5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830B5#FFFFFF#000000##FFFFFF
##9830B51.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#974B70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9830b5;
/* rgb */ color: rgb(152, 48, 181);
/* oklch */ color: oklch(52.2% 0.208 317.8);
Tailwind
colors: {
  custom: {
    50: '#ba73cc',
    500: '#9830b5',
    950: '#000000',
  },
}
SCSS
$custom: #9830b5;
$custom-light: #ba73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9830b5",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 286.917,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.20848,
    "h": 317.8
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#9830B5
secondary
#8BC77A
accent
#E14668
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9830B5

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

Preview Lab → · Contrast checker → · Palette generator →

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