#7B33AE#7B33AE

#7B33AE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.189 H 307.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7B33AE
RGBrgb(123, 51, 174)
HSLhsl(275, 55%, 44%)
HSVhsv(275, 71%, 68%)
CMYKcmyk(29.3%, 70.7%, 0%, 31.8%)
CIE-LABlab(37.18, 52.44, -52.74)
CIE-LCHlch(37.18, 74.37, 314.84°)
OKLaboklab(48.17% 0.1147 -0.1496)
OKLCHoklch(48.17% 0.189 307.5)
XYZxyz(16.9906, 9.6348, 41.0008)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33AE #66AE33
analogous
#3E33AE #7B33AE #AE33A4
triadic
#7B33AE #AE7B33 #33AE7B
tetradic
#7B33AE #AE3E33 #66AE33 #33A4AE
square
#7B33AE #AE3E33 #66AE33 #33A4AE
split-complementary
#7B33AE #A4AE33 #33AE3E
monochromatic
#38174F #5A257F #7B33AE #9A52CC #B581DA

Accessibility & contrast

On white

7.17
#7B33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7B33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B33AE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33AE#FFFFFF#000000##FFFFFF
##7B33AE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0F58AB
Tritanopia (blue-blind)
#734F6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b33ae;
/* rgb */ color: rgb(123, 51, 174);
/* oklch */ color: oklch(48.2% 0.189 307.5);
Tailwind
colors: {
  custom: {
    50: '#a671c7',
    500: '#7b33ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b33ae;
$custom-light: #a671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33ae",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 275.122,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.1885,
    "h": 307.5
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#7B33AE
secondary
#98C379
accent
#DE4A87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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