#7B33AA#7B33AA

#7B33AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.184 H 308.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7B33AA
RGBrgb(123, 51, 170)
HSLhsl(276, 54%, 43%)
HSVhsv(276, 70%, 67%)
CMYKcmyk(27.6%, 70%, 0%, 33.3%)
CIE-LABlab(36.89, 51.53, -50.81)
CIE-LCHlch(36.89, 72.37, 315.40°)
OKLaboklab(47.87% 0.1153 -0.1439)
OKLCHoklch(47.87% 0.184 308.7)
XYZxyz(16.6064, 9.4812, 38.9776)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33AA #62AA33
analogous
#4033AA #7B33AA #AA339D
triadic
#7B33AA #AA7B33 #33AA7B
tetradic
#7B33AA #AA4033 #62AA33 #339DAA
square
#7B33AA #AA4033 #62AA33 #339DAA
split-complementary
#7B33AA #9DAA33 #33AA40
monochromatic
#37174C #59257B #7B33AA #9A50CA #B57FD9

Accessibility & contrast

On white

7.25
#7B33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7B33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B33AA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33AA#FFFFFF#000000##FFFFFF
##7B33AA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#1958A7
Tritanopia (blue-blind)
#744D6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b33aa;
/* rgb */ color: rgb(123, 51, 170);
/* oklch */ color: oklch(47.9% 0.184 308.7);
Tailwind
colors: {
  custom: {
    50: '#a571c4',
    500: '#7b33aa',
    950: '#000000',
  },
}
SCSS
$custom: #7b33aa;
$custom-light: #a571c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33aa",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 276.303,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.18438,
    "h": 308.7
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#7B33AA
secondary
#95C277
accent
#DD4B84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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