#C733B1#C733B1

#C733B1 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.224 H 334.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C733B1
RGBrgb(199, 51, 177)
HSLhsl(309, 59%, 49%)
HSVhsv(309, 74%, 78%)
CMYKcmyk(0%, 74.4%, 11.1%, 22%)
CIE-LABlab(49.11, 69.59, -34.79)
CIE-LCHlch(49.11, 77.80, 333.44°)
OKLaboklab(59.1% 0.203 -0.0951)
OKLCHoklch(59.1% 0.224 334.9)
XYZxyz(32.6732, 17.6870, 43.2796)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C733B1 #33C749
analogous
#9333C7 #C733B1 #C73367
triadic
#C733B1 #B1C733 #33B1C7
tetradic
#C733B1 #C79333 #33C749 #3367C7
square
#C733B1 #C79333 #33C749 #3367C7
split-complementary
#C733B1 #67C733 #33C793
monochromatic
#661A5A #962786 #C733B1 #D661C5 #E391D7

Accessibility & contrast

On white

4.63
#C733B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C733B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C733B1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C733B1#FFFFFF#000000##FFFFFF
##C733B11.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#687CAE
Tritanopia (blue-blind)
#D1406F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c733b1;
/* rgb */ color: rgb(199, 51, 177);
/* oklch */ color: oklch(59.1% 0.224 334.9);
Tailwind
colors: {
  custom: {
    50: '#dc7ac8',
    500: '#c733b1',
    950: '#000000',
  },
}
SCSS
$custom: #c733b1;
$custom-light: #dc7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#c733b1",
  "rgb": {
    "r": 199,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 308.919,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.22414,
    "h": 334.9
  },
  "luminance": 0.17684
}

Semantic roles & 50–950 ramp

primary
#C733B1
secondary
#88CE92
accent
#E25D45
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C733B1

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

Preview Lab → · Contrast checker → · Palette generator →

#C733B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva