#7A33BC#7A33BC

#7A33BC is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.203 H 303.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7A33BC
RGBrgb(122, 51, 188)
HSLhsl(271, 57%, 47%)
HSVhsv(271, 73%, 74%)
CMYKcmyk(35.1%, 72.9%, 0%, 26.3%)
CIE-LABlab(38.09, 55.51, -59.55)
CIE-LCHlch(38.09, 81.41, 312.99°)
OKLaboklab(49.11% 0.111 -0.1696)
OKLCHoklch(49.11% 0.203 303.2)
XYZxyz(18.2848, 10.1361, 48.5604)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33BC #75BC33
analogous
#3633BC #7A33BC #BC33BA
triadic
#7A33BC #BC7A33 #33BC7A
tetradic
#7A33BC #BC3633 #75BC33 #33BABC
square
#7A33BC #BC3633 #75BC33 #33BABC
split-complementary
#7A33BC #BABC33 #33BC36
monochromatic
#3C195C #5B268C #7A33BC #985AD2 #B68ADF

Accessibility & contrast

On white

6.94
#7A33BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7A33BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33BC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33BC#FFFFFF#000000##FFFFFF
##7A33BC1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#6D5575
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a33bc;
/* rgb */ color: rgb(122, 51, 188);
/* oklch */ color: oklch(49.1% 0.203 303.2);
Tailwind
colors: {
  custom: {
    50: '#a671d1',
    500: '#7a33bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a33bc;
$custom-light: #a671d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33bc",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 271.095,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.20273,
    "h": 303.2
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#7A33BC
secondary
#A4C981
accent
#E14791
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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