#7C33AB#7C33AB

#7C33AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.186 H 308.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7C33AB
RGBrgb(124, 51, 171)
HSLhsl(277, 54%, 44%)
HSVhsv(277, 70%, 67%)
CMYKcmyk(27.5%, 70.2%, 0%, 32.9%)
CIE-LABlab(37.10, 51.97, -51.07)
CIE-LCHlch(37.10, 72.86, 315.50°)
OKLaboklab(48.07% 0.1165 -0.1446)
OKLCHoklch(48.07% 0.186 308.9)
XYZxyz(16.8452, 9.5933, 39.4845)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33AB #62AB33
analogous
#4033AB #7C33AB #AB339E
triadic
#7C33AB #AB7C33 #33AB7C
tetradic
#7C33AB #AB4033 #62AB33 #339EAB
square
#7C33AB #AB4033 #62AB33 #339EAB
split-complementary
#7C33AB #9EAB33 #33AB40
monochromatic
#38174D #5A257C #7C33AB #9B50CB #B67FD9

Accessibility & contrast

On white

7.20
#7C33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7C33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C33AB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33AB#FFFFFF#000000##FFFFFF
##7C33AB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#1958A8
Tritanopia (blue-blind)
#754D6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c33ab;
/* rgb */ color: rgb(124, 51, 171);
/* oklch */ color: oklch(48.1% 0.186 308.9);
Tailwind
colors: {
  custom: {
    50: '#a671c5',
    500: '#7c33ab',
    950: '#000000',
  },
}
SCSS
$custom: #7c33ab;
$custom-light: #a671c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33ab",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 276.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.1857,
    "h": 308.9
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#7C33AB
secondary
#95C278
accent
#DD4A84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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