#9830A2#9830A2

#9830A2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.192 H 324.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9830A2
RGBrgb(152, 48, 162)
HSLhsl(295, 54%, 41%)
HSVhsv(295, 70%, 64%)
CMYKcmyk(6.2%, 70.4%, 0%, 36.5%)
CIE-LABlab(40.24, 57.55, -40.41)
CIE-LCHlch(40.24, 70.32, 324.92°)
OKLaboklab(50.99% 0.1556 -0.1125)
OKLCHoklch(50.99% 0.192 324.1)
XYZxyz(20.5269, 11.3992, 35.2945)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830A2 #3AA230
analogous
#5F30A2 #9830A2 #A23073
triadic
#9830A2 #A29830 #30A298
tetradic
#9830A2 #A25F30 #3AA230 #3073A2
square
#9830A2 #A25F30 #3AA230 #3073A2
split-complementary
#9830A2 #73A230 #30A25F
monochromatic
#3F1444 #6C2273 #9830A2 #BD47C8 #CE76D6

Accessibility & contrast

On white

6.40
#9830A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9830A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830A2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830A2#FFFFFF#000000##FFFFFF
##9830A21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#9B4366
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9830a2;
/* rgb */ color: rgb(152, 48, 162);
/* oklch */ color: oklch(51.0% 0.192 324.1);
Tailwind
colors: {
  custom: {
    50: '#ba72be',
    500: '#9830a2',
    950: '#000000',
  },
}
SCSS
$custom: #9830a2;
$custom-light: #ba72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9830a2",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 294.737,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.192,
    "h": 324.1
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#9830A2
secondary
#76BE6F
accent
#DE4A57
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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