#9833A2#9833A2

#9833A2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.188 H 324.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9833A2
RGBrgb(152, 51, 162)
HSLhsl(295, 52%, 42%)
HSVhsv(295, 69%, 64%)
CMYKcmyk(6.2%, 68.5%, 0%, 36.5%)
CIE-LABlab(40.66, 56.38, -39.75)
CIE-LCHlch(40.66, 68.99, 324.81°)
OKLaboklab(51.28% 0.1524 -0.1106)
OKLCHoklch(51.28% 0.188 324)
XYZxyz(20.6537, 11.6529, 35.3368)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833A2 #3DA233
analogous
#6133A2 #9833A2 #A23375
triadic
#9833A2 #A29833 #33A298
tetradic
#9833A2 #A26133 #3DA233 #3375A2
square
#9833A2 #A26133 #3DA233 #3375A2
split-complementary
#9833A2 #75A233 #33A261
monochromatic
#411645 #6C2473 #9833A2 #BB4CC7 #CD7AD5

Accessibility & contrast

On white

6.31
#9833A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9833A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833A2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833A2#FFFFFF#000000##FFFFFF
##9833A21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#9B4566
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9833a2;
/* rgb */ color: rgb(152, 51, 162);
/* oklch */ color: oklch(51.3% 0.188 324.0);
Tailwind
colors: {
  custom: {
    50: '#ba73be',
    500: '#9833a2',
    950: '#000000',
  },
}
SCSS
$custom: #9833a2;
$custom-light: #ba73be;
$custom-dark: #000000;
JSON
{
  "hex": "#9833a2",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 294.595,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51282,
    "c": 0.18829,
    "h": 324
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#9833A2
secondary
#7ABE73
accent
#DC4C59
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9833A2

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

Preview Lab → · Contrast checker → · Palette generator →

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