#7B33B1#7B33B1

#7B33B1 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.192 H 306.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7B33B1
RGBrgb(123, 51, 177)
HSLhsl(274, 55%, 45%)
HSVhsv(274, 71%, 69%)
CMYKcmyk(30.5%, 71.2%, 0%, 30.6%)
CIE-LABlab(37.40, 53.13, -54.17)
CIE-LCHlch(37.40, 75.88, 314.45°)
OKLaboklab(48.39% 0.1143 -0.1538)
OKLCHoklch(48.39% 0.192 306.6)
XYZxyz(17.2863, 9.7531, 42.5583)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33B1 #69B133
analogous
#3C33B1 #7B33B1 #B133A8
triadic
#7B33B1 #B17B33 #33B17B
tetradic
#7B33B1 #B13C33 #69B133 #33A8B1
square
#7B33B1 #B13C33 #69B133 #33A8B1
split-complementary
#7B33B1 #A8B133 #33B13C
monochromatic
#391852 #5A2581 #7B33B1 #9954CE #B683DB

Accessibility & contrast

On white

7.12
#7B33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7B33B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B33B1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33B1#FFFFFF#000000##FFFFFF
##7B33B11.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0358AE
Tritanopia (blue-blind)
#72506E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b33b1;
/* rgb */ color: rgb(123, 51, 177);
/* oklch */ color: oklch(48.4% 0.192 306.6);
Tailwind
colors: {
  custom: {
    50: '#a671c9',
    500: '#7b33b1',
    950: '#000000',
  },
}
SCSS
$custom: #7b33b1;
$custom-light: #a671c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33b1",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 274.286,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.1916,
    "h": 306.6
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#7B33B1
secondary
#9BC57B
accent
#DF4989
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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