#7C33A2#7C33A2

#7C33A2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.176 H 311.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7C33A2
RGBrgb(124, 51, 162)
HSLhsl(279, 52%, 42%)
HSVhsv(279, 69%, 64%)
CMYKcmyk(23.5%, 68.5%, 0%, 36.5%)
CIE-LABlab(36.48, 49.95, -46.67)
CIE-LCHlch(36.48, 68.36, 316.94°)
OKLaboklab(47.43% 0.1175 -0.1317)
OKLCHoklch(47.43% 0.176 311.7)
XYZxyz(16.0164, 9.2618, 35.1194)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33A2 #59A233
analogous
#4433A2 #7C33A2 #A23391
triadic
#7C33A2 #A27C33 #33A27C
tetradic
#7C33A2 #A24433 #59A233 #3391A2
square
#7C33A2 #A24433 #59A233 #3391A2
split-complementary
#7C33A2 #91A233 #33A244
monochromatic
#351645 #582473 #7C33A2 #9C4CC7 #B67AD5

Accessibility & contrast

On white

7.36
#7C33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7C33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C33A2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33A2#FFFFFF#000000##FFFFFF
##7C33A21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#27579F
Tritanopia (blue-blind)
#774A66
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c33a2;
/* rgb */ color: rgb(124, 51, 162);
/* oklch */ color: oklch(47.4% 0.176 311.7);
Tailwind
colors: {
  custom: {
    50: '#a670be',
    500: '#7c33a2',
    950: '#000000',
  },
}
SCSS
$custom: #7c33a2;
$custom-light: #a670be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33a2",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 279.459,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47433,
    "c": 0.17648,
    "h": 311.7
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#7C33A2
secondary
#8DBE73
accent
#DC4C7D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7C33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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