#9830A5#9830A5

#9830A5 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.195 H 323.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9830A5
RGBrgb(152, 48, 165)
HSLhsl(293, 55%, 42%)
HSVhsv(293, 71%, 65%)
CMYKcmyk(7.9%, 70.9%, 0%, 35.3%)
CIE-LABlab(40.42, 58.10, -41.93)
CIE-LCHlch(40.42, 71.65, 324.18°)
OKLaboklab(51.17% 0.1555 -0.1169)
OKLCHoklch(51.17% 0.195 323.1)
XYZxyz(20.7967, 11.5071, 36.7157)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830A5 #3DA530
analogous
#5D30A5 #9830A5 #A53078
triadic
#9830A5 #A59830 #30A598
tetradic
#9830A5 #A55D30 #3DA530 #3078A5
square
#9830A5 #A55D30 #3DA530 #3078A5
split-complementary
#9830A5 #78A530 #30A55D
monochromatic
#411446 #6C2276 #9830A5 #BB48CA #CD78D8

Accessibility & contrast

On white

6.36
#9830A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9830A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830A5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830A5#FFFFFF#000000##FFFFFF
##9830A51.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#9A4467
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9830a5;
/* rgb */ color: rgb(152, 48, 165);
/* oklch */ color: oklch(51.2% 0.195 323.1);
Tailwind
colors: {
  custom: {
    50: '#ba72c0',
    500: '#9830a5',
    950: '#000000',
  },
}
SCSS
$custom: #9830a5;
$custom-light: #ba72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9830a5",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 293.333,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.19457,
    "h": 323.1
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#9830A5
secondary
#7AC071
accent
#DE4A5A
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9830A5

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

Preview Lab → · Contrast checker → · Palette generator →

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