#9830C7#9830C7

#9830C7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.224 H 312.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9830C7
RGBrgb(152, 48, 199)
HSLhsl(281, 61%, 48%)
HSVhsv(281, 76%, 78%)
CMYKcmyk(23.6%, 75.9%, 0%, 22%)
CIE-LABlab(42.63, 64.67, -58.42)
CIE-LCHlch(42.63, 87.15, 317.91°)
OKLaboklab(53.44% 0.1519 -0.1652)
OKLCHoklch(53.44% 0.224 312.6)
XYZxyz(24.3128, 12.9135, 55.2336)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830C7 #5FC730
analogous
#4D30C7 #9830C7 #C730AA
triadic
#9830C7 #C79830 #30C798
tetradic
#9830C7 #C74D30 #5FC730 #30AAC7
square
#9830C7 #C74D30 #5FC730 #30AAC7
split-complementary
#9830C7 #AAC730 #30C74D
monochromatic
#4D1864 #722496 #9830C7 #B15CD8 #C98EE4

Accessibility & contrast

On white

5.86
#9830C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9830C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830C7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830C7#FFFFFF#000000##FFFFFF
##9830C71.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#1A67C4
Tritanopia (blue-blind)
#93537A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9830c7;
/* rgb */ color: rgb(152, 48, 199);
/* oklch */ color: oklch(53.4% 0.224 312.6);
Tailwind
colors: {
  custom: {
    50: '#bb73d9',
    500: '#9830c7',
    950: '#000000',
  },
}
SCSS
$custom: #9830c7;
$custom-light: #bb73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9830c7",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 281.325,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.22447,
    "h": 312.6
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#9830C7
secondary
#9CCE85
accent
#E44476
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9830C7

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

Preview Lab → · Contrast checker → · Palette generator →

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