#7E33B3#7E33B3

#7E33B3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.194 H 307.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7E33B3
RGBrgb(126, 51, 179)
HSLhsl(275, 56%, 45%)
HSVhsv(275, 72%, 70%)
CMYKcmyk(29.6%, 71.5%, 0%, 29.8%)
CIE-LABlab(37.95, 54.19, -54.44)
CIE-LCHlch(37.95, 76.82, 314.87°)
OKLaboklab(48.91% 0.1181 -0.1545)
OKLCHoklch(48.91% 0.194 307.4)
XYZxyz(17.9230, 10.0582, 43.6363)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33B3 #68B333
analogous
#3E33B3 #7E33B3 #B333A8
triadic
#7E33B3 #B37E33 #33B37E
tetradic
#7E33B3 #B33E33 #68B333 #33A8B3
square
#7E33B3 #B33E33 #68B333 #33A8B3
split-complementary
#7E33B3 #A8B333 #33B33E
monochromatic
#3B1854 #5C2583 #7E33B3 #9C55CE #B884DC

Accessibility & contrast

On white

6.97
#7E33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7E33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33B3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33B3#FFFFFF#000000##FFFFFF
##7E33B31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#085AB0
Tritanopia (blue-blind)
#755070
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e33b3;
/* rgb */ color: rgb(126, 51, 179);
/* oklch */ color: oklch(48.9% 0.194 307.4);
Tailwind
colors: {
  custom: {
    50: '#a871cb',
    500: '#7e33b3',
    950: '#000000',
  },
}
SCSS
$custom: #7e33b3;
$custom-light: #a871cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33b3",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 275.156,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.19444,
    "h": 307.4
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#7E33B3
secondary
#9BC67C
accent
#DF4987
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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