#7B33A3#7B33A3

#7B33A3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.177 H 310.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7B33A3
RGBrgb(123, 51, 163)
HSLhsl(279, 52%, 42%)
HSVhsv(279, 69%, 64%)
CMYKcmyk(24.5%, 68.7%, 0%, 36.1%)
CIE-LABlab(36.41, 49.95, -47.40)
CIE-LCHlch(36.41, 68.86, 316.50°)
OKLaboklab(47.37% 0.116 -0.1339)
OKLCHoklch(47.37% 0.177 310.9)
XYZxyz(15.9618, 9.2233, 35.5827)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33A3 #5BA333
analogous
#4333A3 #7B33A3 #A33393
triadic
#7B33A3 #A37B33 #33A37B
tetradic
#7B33A3 #A34333 #5BA333 #3393A3
square
#7B33A3 #A34333 #5BA333 #3393A3
split-complementary
#7B33A3 #93A333 #33A343
monochromatic
#351646 #582474 #7B33A3 #9B4CC7 #B57BD6

Accessibility & contrast

On white

7.38
#7B33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7B33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B33A3
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33A3#FFFFFF#000000##FFFFFF
##7B33A31.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2457A0
Tritanopia (blue-blind)
#764A67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b33a3;
/* rgb */ color: rgb(123, 51, 163);
/* oklch */ color: oklch(47.4% 0.177 310.9);
Tailwind
colors: {
  custom: {
    50: '#a570bf',
    500: '#7b33a3',
    950: '#000000',
  },
}
SCSS
$custom: #7b33a3;
$custom-light: #a570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33a3",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 278.571,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.17716,
    "h": 310.9
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#7B33A3
secondary
#8EBE73
accent
#DC4C7F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7B33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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