#9830B8#9830B8

#9830B8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 316.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9830B8
RGBrgb(152, 48, 184)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 72%)
CMYKcmyk(17.4%, 73.9%, 0%, 27.8%)
CIE-LABlab(41.61, 61.69, -51.29)
CIE-LCHlch(41.61, 80.23, 320.26°)
OKLaboklab(52.4% 0.1541 -0.1443)
OKLCHoklch(52.4% 0.211 316.9)
XYZxyz(22.6563, 12.2509, 46.5093)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830B8 #50B830
analogous
#5430B8 #9830B8 #B83094
triadic
#9830B8 #B89830 #30B898
tetradic
#9830B8 #B85430 #50B830 #3094B8
square
#9830B8 #B85430 #50B830 #3094B8
split-complementary
#9830B8 #94B830 #30B854
monochromatic
#481757 #702387 #9830B8 #B453D2 #C984DF

Accessibility & contrast

On white

6.09
#9830B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9830B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830B8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830B8#FFFFFF#000000##FFFFFF
##9830B81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#964D72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9830b8;
/* rgb */ color: rgb(152, 48, 184);
/* oklch */ color: oklch(52.4% 0.211 316.9);
Tailwind
colors: {
  custom: {
    50: '#ba73ce',
    500: '#9830b8',
    950: '#000000',
  },
}
SCSS
$custom: #9830b8;
$custom-light: #ba73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9830b8",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 285.882,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.21113,
    "h": 316.9
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#9830B8
secondary
#8EC87C
accent
#E2466B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9830B8

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

Preview Lab → · Contrast checker → · Palette generator →

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