#9830BF#9830BF

#9830BF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.217 H 314.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9830BF
RGBrgb(152, 48, 191)
HSLhsl(284, 60%, 47%)
HSVhsv(284, 75%, 75%)
CMYKcmyk(20.4%, 74.9%, 0%, 25.1%)
CIE-LABlab(42.08, 63.07, -54.64)
CIE-LCHlch(42.08, 83.45, 319.09°)
OKLaboklab(52.88% 0.1532 -0.1542)
OKLCHoklch(52.88% 0.217 314.8)
XYZxyz(23.4083, 12.5517, 50.4698)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9830BF #57BF30
analogous
#5030BF #9830BF #BF309F
triadic
#9830BF #BF9830 #30BF98
tetradic
#9830BF #BF5030 #57BF30 #309FBF
square
#9830BF #BF5030 #57BF30 #309FBF
split-complementary
#9830BF #9FBF30 #30BF50
monochromatic
#4A175D #71248E #9830BF #B357D5 #C988E1

Accessibility & contrast

On white

5.98
#9830BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9830BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9830BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9830BF#FFFFFF#000000##FFFFFF
##9830BF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#955076
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9830bf;
/* rgb */ color: rgb(152, 48, 191);
/* oklch */ color: oklch(52.9% 0.217 314.8);
Tailwind
colors: {
  custom: {
    50: '#bb73d3',
    500: '#9830bf',
    950: '#000000',
  },
}
SCSS
$custom: #9830bf;
$custom-light: #bb73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9830bf",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 283.636,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.21734,
    "h": 314.8
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#9830BF
secondary
#94CB80
accent
#E34570
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9830BF

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

Preview Lab → · Contrast checker → · Palette generator →

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