#9830B4#9830B4

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

Color values

HEX#9830B4
RGBrgb(152, 48, 180)
HSLhsl(287, 58%, 45%)
HSVhsv(287, 73%, 71%)
CMYKcmyk(15.6%, 73.3%, 0%, 29.4%)
CIE-LABlab(41.35, 60.91, -49.35)
CIE-LCHlch(41.35, 78.40, 320.99°)
OKLaboklab(52.13% 0.1545 -0.1386)
OKLCHoklch(52.13% 0.208 318.1)
XYZxyz(22.2429, 12.0856, 44.3323)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830B4 #4CB430
analogous
#5630B4 #9830B4 #B4308E
triadic
#9830B4 #B49830 #30B498
tetradic
#9830B4 #B45630 #4CB430 #308EB4
square
#9830B4 #B45630 #4CB430 #308EB4
split-complementary
#9830B4 #8EB430 #30B456
monochromatic
#461653 #6F2384 #9830B4 #B551D1 #CA81DD

Accessibility & contrast

On white

6.15
#9830B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9830B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830B4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830B4#FFFFFF#000000##FFFFFF
##9830B41.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3665B1
Tritanopia (blue-blind)
#974B70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9830b4;
/* rgb */ color: rgb(152, 48, 180);
/* oklch */ color: oklch(52.1% 0.208 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba73cb',
    500: '#9830b4',
    950: '#000000',
  },
}
SCSS
$custom: #9830b4;
$custom-light: #ba73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9830b4",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 287.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.20761,
    "h": 318.1
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#9830B4
secondary
#8AC679
accent
#E14767
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9830B4

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

Preview Lab → · Contrast checker → · Palette generator →

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