#9833AF#9833AF

#9833AF is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.200 H 319.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9833AF
RGBrgb(152, 51, 175)
HSLhsl(289, 55%, 44%)
HSVhsv(289, 71%, 69%)
CMYKcmyk(13.1%, 70.9%, 0%, 31.4%)
CIE-LABlab(41.44, 58.82, -46.26)
CIE-LCHlch(41.44, 74.83, 321.81°)
OKLaboklab(52.09% 0.1519 -0.1296)
OKLCHoklch(52.09% 0.2 319.5)
XYZxyz(21.8696, 12.1393, 41.7403)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833AF #4AAF33
analogous
#5A33AF #9833AF #AF3388
triadic
#9833AF #AF9833 #33AF98
tetradic
#9833AF #AF5A33 #4AAF33 #3388AF
square
#9833AF #AF5A33 #4AAF33 #3388AF
split-complementary
#9833AF #88AF33 #33AF5A
monochromatic
#461750 #6F2580 #9833AF #B652CD #CA82DB

Accessibility & contrast

On white

6.13
#9833AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9833AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833AF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833AF#FFFFFF#000000##FFFFFF
##9833AF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#984B6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9833af;
/* rgb */ color: rgb(152, 51, 175);
/* oklch */ color: oklch(52.1% 0.200 319.5);
Tailwind
colors: {
  custom: {
    50: '#ba74c7',
    500: '#9833af',
    950: '#000000',
  },
}
SCSS
$custom: #9833af;
$custom-light: #ba74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9833af",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 288.871,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.19971,
    "h": 319.5
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#9833AF
secondary
#88C47A
accent
#DE4A65
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9833AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9833AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva