#7E33BC#7E33BC

#7E33BC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.204 H 304.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7E33BC
RGBrgb(126, 51, 188)
HSLhsl(273, 57%, 47%)
HSVhsv(273, 73%, 74%)
CMYKcmyk(33%, 72.9%, 0%, 26.3%)
CIE-LABlab(38.61, 56.26, -58.68)
CIE-LCHlch(38.61, 81.29, 313.79°)
OKLaboklab(49.59% 0.1166 -0.1669)
OKLCHoklch(49.59% 0.204 304.9)
XYZxyz(18.8631, 10.4342, 48.5875)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33BC #71BC33
analogous
#3A33BC #7E33BC #BC33B6
triadic
#7E33BC #BC7E33 #33BC7E
tetradic
#7E33BC #BC3A33 #71BC33 #33B6BC
square
#7E33BC #BC3A33 #71BC33 #33B6BC
split-complementary
#7E33BC #B6BC33 #33BC3A
monochromatic
#3D195C #5E268C #7E33BC #9C5AD2 #B98ADF

Accessibility & contrast

On white

6.80
#7E33BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7E33BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33BC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33BC#FFFFFF#000000##FFFFFF
##7E33BC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#725475
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e33bc;
/* rgb */ color: rgb(126, 51, 188);
/* oklch */ color: oklch(49.6% 0.204 304.9);
Tailwind
colors: {
  custom: {
    50: '#a972d1',
    500: '#7e33bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e33bc;
$custom-light: #a972d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33bc",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 272.847,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.20359,
    "h": 304.9
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#7E33BC
secondary
#A2C981
accent
#E1478D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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