#9830B2#9830B2

#9830B2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.206 H 318.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9830B2
RGBrgb(152, 48, 178)
HSLhsl(288, 58%, 44%)
HSVhsv(288, 73%, 70%)
CMYKcmyk(14.6%, 73%, 0%, 30.2%)
CIE-LABlab(41.22, 60.53, -48.38)
CIE-LCHlch(41.22, 77.49, 321.37°)
OKLaboklab(52% 0.1547 -0.1358)
OKLCHoklch(52% 0.206 318.7)
XYZxyz(22.0406, 12.0047, 43.2670)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830B2 #4AB230
analogous
#5730B2 #9830B2 #B2308B
triadic
#9830B2 #B29830 #30B298
tetradic
#9830B2 #B25730 #4AB230 #308BB2
square
#9830B2 #B25730 #4AB230 #308BB2
split-complementary
#9830B2 #8BB230 #30B257
monochromatic
#461652 #6F2382 #9830B2 #B650D0 #CA80DD

Accessibility & contrast

On white

6.18
#9830B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9830B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830B2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830B2#FFFFFF#000000##FFFFFF
##9830B21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#984A6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9830b2;
/* rgb */ color: rgb(152, 48, 178);
/* oklch */ color: oklch(52.0% 0.206 318.7);
Tailwind
colors: {
  custom: {
    50: '#ba73ca',
    500: '#9830b2',
    950: '#000000',
  },
}
SCSS
$custom: #9830b2;
$custom-light: #ba73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9830b2",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 288,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.20585,
    "h": 318.7
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#9830B2
secondary
#88C678
accent
#E14766
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9830B2

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

Preview Lab → · Contrast checker → · Palette generator →

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