#7B33B3#7B33B3

#7B33B3 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.194 H 306.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7B33B3
RGBrgb(123, 51, 179)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 70%)
CMYKcmyk(31.3%, 71.5%, 0%, 29.8%)
CIE-LABlab(37.54, 53.59, -55.12)
CIE-LCHlch(37.54, 76.88, 314.20°)
OKLaboklab(48.54% 0.114 -0.1566)
OKLCHoklch(48.54% 0.194 306.1)
XYZxyz(17.4871, 9.8334, 43.6159)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33B3 #6BB333
analogous
#3B33B3 #7B33B3 #B333AB
triadic
#7B33B3 #B37B33 #33B37B
tetradic
#7B33B3 #B33B33 #6BB333 #33ABB3
square
#7B33B3 #B33B33 #6BB333 #33ABB3
split-complementary
#7B33B3 #ABB333 #33B33B
monochromatic
#3A1854 #5A2583 #7B33B3 #9955CE #B684DC

Accessibility & contrast

On white

7.08
#7B33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B33B3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33B3#FFFFFF#000000##FFFFFF
##7B33B31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#715170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b33b3;
/* rgb */ color: rgb(123, 51, 179);
/* oklch */ color: oklch(48.5% 0.194 306.1);
Tailwind
colors: {
  custom: {
    50: '#a671cb',
    500: '#7b33b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b33b3;
$custom-light: #a671cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33b3",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 273.75,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48538,
    "c": 0.19366,
    "h": 306.1
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#7B33B3
secondary
#9CC67C
accent
#DF498B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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