#7A33B2#7A33B2

#7A33B2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.192 H 305.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7A33B2
RGBrgb(122, 51, 178)
HSLhsl(274, 55%, 45%)
HSVhsv(274, 71%, 70%)
CMYKcmyk(31.5%, 71.3%, 0%, 30.2%)
CIE-LABlab(37.33, 53.16, -54.87)
CIE-LCHlch(37.33, 76.40, 314.10°)
OKLaboklab(48.34% 0.1128 -0.1559)
OKLCHoklch(48.34% 0.192 305.9)
XYZxyz(17.2440, 9.7197, 43.0785)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33B2 #6BB233
analogous
#3A33B2 #7A33B2 #B233AB
triadic
#7A33B2 #B27A33 #33B27A
tetradic
#7A33B2 #B23A33 #6BB233 #33ABB2
square
#7A33B2 #B23A33 #6BB233 #33ABB2
split-complementary
#7A33B2 #ABB233 #33B23A
monochromatic
#391853 #592582 #7A33B2 #9854CE #B584DC

Accessibility & contrast

On white

7.13
#7A33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7A33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A33B2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33B2#FFFFFF#000000##FFFFFF
##7A33B21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a33b2;
/* rgb */ color: rgb(122, 51, 178);
/* oklch */ color: oklch(48.3% 0.192 305.9);
Tailwind
colors: {
  custom: {
    50: '#a571ca',
    500: '#7a33b2',
    950: '#000000',
  },
}
SCSS
$custom: #7a33b2;
$custom-light: #a571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33b2",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 273.543,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.19238,
    "h": 305.9
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#7A33B2
secondary
#9CC57C
accent
#DF498B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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