#9830B7#9830B7

#9830B7 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.210 H 317.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9830B7
RGBrgb(152, 48, 183)
HSLhsl(286, 58%, 45%)
HSVhsv(286, 74%, 72%)
CMYKcmyk(16.9%, 73.8%, 0%, 28.2%)
CIE-LABlab(41.55, 61.49, -50.81)
CIE-LCHlch(41.55, 79.77, 320.44°)
OKLaboklab(52.33% 0.1542 -0.1429)
OKLCHoklch(52.33% 0.21 317.2)
XYZxyz(22.5518, 12.2092, 45.9592)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830B7 #4FB730
analogous
#5430B7 #9830B7 #B73093
triadic
#9830B7 #B79830 #30B798
tetradic
#9830B7 #B75430 #4FB730 #3093B7
square
#9830B7 #B75430 #4FB730 #3093B7
split-complementary
#9830B7 #93B730 #30B754
monochromatic
#471756 #702387 #9830B7 #B552D2 #C983DE

Accessibility & contrast

On white

6.10
#9830B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9830B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830B7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830B7#FFFFFF#000000##FFFFFF
##9830B71.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#974C71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9830b7;
/* rgb */ color: rgb(152, 48, 183);
/* oklch */ color: oklch(52.3% 0.210 317.2);
Tailwind
colors: {
  custom: {
    50: '#ba73cd',
    500: '#9830b7',
    950: '#000000',
  },
}
SCSS
$custom: #9830b7;
$custom-light: #ba73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9830b7",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 286.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.21024,
    "h": 317.2
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#9830B7
secondary
#8DC87B
accent
#E2466A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9830B7

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

Preview Lab → · Contrast checker → · Palette generator →

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