#7C33B2#7C33B2

#7C33B2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.193 H 306.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7C33B2
RGBrgb(124, 51, 178)
HSLhsl(274, 55%, 45%)
HSVhsv(274, 71%, 70%)
CMYKcmyk(30.3%, 71.3%, 0%, 30.2%)
CIE-LABlab(37.60, 53.56, -54.42)
CIE-LCHlch(37.60, 76.36, 314.55°)
OKLaboklab(48.59% 0.1155 -0.1545)
OKLCHoklch(48.59% 0.193 306.8)
XYZxyz(17.5302, 9.8673, 43.0919)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C33B2 #69B233
analogous
#3C33B2 #7C33B2 #B233A9
triadic
#7C33B2 #B27C33 #33B27C
tetradic
#7C33B2 #B23C33 #69B233 #33A9B2
square
#7C33B2 #B23C33 #69B233 #33A9B2
split-complementary
#7C33B2 #A9B233 #33B23C
monochromatic
#3A1853 #5B2582 #7C33B2 #9A54CE #B684DC

Accessibility & contrast

On white

7.06
#7C33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7C33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C33B2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C33B2#FFFFFF#000000##FFFFFF
##7C33B21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0359AF
Tritanopia (blue-blind)
#73506F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c33b2;
/* rgb */ color: rgb(124, 51, 178);
/* oklch */ color: oklch(48.6% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#a771ca',
    500: '#7c33b2',
    950: '#000000',
  },
}
SCSS
$custom: #7c33b2;
$custom-light: #a771ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c33b2",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 274.488,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.19289,
    "h": 306.8
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#7C33B2
secondary
#9BC57C
accent
#DF4989
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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