#9833CC#9833CC

#9833CC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.1% C 0.226 H 311.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9833CC
RGBrgb(152, 51, 204)
HSLhsl(280, 60%, 50%)
HSVhsv(280, 75%, 80%)
CMYKcmyk(25.5%, 75%, 0%, 20%)
CIE-LABlab(43.36, 64.60, -60.13)
CIE-LCHlch(43.36, 88.26, 317.05°)
OKLaboklab(54.07% 0.1484 -0.1703)
OKLCHoklch(54.07% 0.226 311.1)
XYZxyz(25.0297, 13.4033, 58.3836)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9833CC #67CC33
analogous
#4C33CC #9833CC #CC33B3
triadic
#9833CC #CC9833 #33CC98
tetradic
#9833CC #CC4C33 #67CC33 #33B3CC
square
#9833CC #CC4C33 #67CC33 #33B3CC
split-complementary
#9833CC #B3CC33 #33CC4C
monochromatic
#4F1B6A #74279B #9833CC #B164D8 #C995E4

Accessibility & contrast

On white

5.71
#9833CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9833CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9833CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9833CC#FFFFFF#000000##FFFFFF
##9833CC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#1268C9
Tritanopia (blue-blind)
#91577E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9833cc;
/* rgb */ color: rgb(152, 51, 204);
/* oklch */ color: oklch(54.1% 0.226 311.1);
Tailwind
colors: {
  custom: {
    50: '#bb75dc',
    500: '#9833cc',
    950: '#000000',
  },
}
SCSS
$custom: #9833cc;
$custom-light: #bb75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9833cc",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 279.608,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.22591,
    "h": 311.1
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#9833CC
secondary
#A2D08B
accent
#E3457B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9833CC

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

Preview Lab → · Contrast checker → · Palette generator →

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