#9830C2#9830C2

#9830C2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.220 H 314.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9830C2
RGBrgb(152, 48, 194)
HSLhsl(283, 60%, 47%)
HSVhsv(283, 75%, 76%)
CMYKcmyk(21.6%, 75.3%, 0%, 23.9%)
CIE-LABlab(42.28, 63.66, -56.07)
CIE-LCHlch(42.28, 84.83, 318.63°)
OKLaboklab(53.09% 0.1528 -0.1583)
OKLCHoklch(53.09% 0.22 314)
XYZxyz(23.7418, 12.6851, 52.2263)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830C2 #5AC230
analogous
#4F30C2 #9830C2 #C230A3
triadic
#9830C2 #C29830 #30C298
tetradic
#9830C2 #C24F30 #5AC230 #30A3C2
square
#9830C2 #C24F30 #5AC230 #30A3C2
split-complementary
#9830C2 #A3C230 #30C24F
monochromatic
#4B1860 #722491 #9830C2 #B259D6 #C98AE2

Accessibility & contrast

On white

5.94
#9830C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9830C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830C2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830C2#FFFFFF#000000##FFFFFF
##9830C21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2466BF
Tritanopia (blue-blind)
#945177
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9830c2;
/* rgb */ color: rgb(152, 48, 194);
/* oklch */ color: oklch(53.1% 0.220 314.0);
Tailwind
colors: {
  custom: {
    50: '#bb73d5',
    500: '#9830c2',
    950: '#000000',
  },
}
SCSS
$custom: #9830c2;
$custom-light: #bb73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9830c2",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 282.74,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.22001,
    "h": 314
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#9830C2
secondary
#97CC82
accent
#E34472
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9830C2

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

Preview Lab → · Contrast checker → · Palette generator →

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