#7C33AA#7C33AA

#7C33AA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.185 H 309.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7C33AA
RGBrgb(124, 51, 170)
HSLhsl(277, 54%, 43%)
HSVhsv(277, 70%, 67%)
CMYKcmyk(27.1%, 70%, 0%, 33.3%)
CIE-LABlab(37.03, 51.74, -50.58)
CIE-LCHlch(37.03, 72.36, 315.65°)
OKLaboklab(48% 0.1166 -0.1432)
OKLCHoklch(48% 0.185 309.2)
XYZxyz(16.7503, 9.5553, 38.9844)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33AA #61AA33
analogous
#4133AA #7C33AA #AA339C
triadic
#7C33AA #AA7C33 #33AA7C
tetradic
#7C33AA #AA4133 #61AA33 #339CAA
square
#7C33AA #AA4133 #61AA33 #339CAA
split-complementary
#7C33AA #9CAA33 #33AA41
monochromatic
#37174C #5A257B #7C33AA #9B50CA #B67FD9

Accessibility & contrast

On white

7.21
#7C33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7C33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C33AA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33AA#FFFFFF#000000##FFFFFF
##7C33AA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#1B58A7
Tritanopia (blue-blind)
#754D6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c33aa;
/* rgb */ color: rgb(124, 51, 170);
/* oklch */ color: oklch(48.0% 0.185 309.2);
Tailwind
colors: {
  custom: {
    50: '#a671c4',
    500: '#7c33aa',
    950: '#000000',
  },
}
SCSS
$custom: #7c33aa;
$custom-light: #a671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33aa",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 276.807,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48,
    "c": 0.18467,
    "h": 309.2
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#7C33AA
secondary
#94C277
accent
#DD4B83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C33AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7C33AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva