#7B33B2#7B33B2

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

Color values

HEX#7B33B2
RGBrgb(123, 51, 178)
HSLhsl(274, 55%, 45%)
HSVhsv(274, 71%, 70%)
CMYKcmyk(30.9%, 71.3%, 0%, 30.2%)
CIE-LABlab(37.47, 53.36, -54.64)
CIE-LCHlch(37.47, 76.38, 314.32°)
OKLaboklab(48.46% 0.1142 -0.1552)
OKLCHoklch(48.46% 0.193 306.3)
XYZxyz(17.3863, 9.7931, 43.0852)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33B2 #6AB233
analogous
#3C33B2 #7B33B2 #B233AA
triadic
#7B33B2 #B27B33 #33B27B
tetradic
#7B33B2 #B23C33 #6AB233 #33AAB2
square
#7B33B2 #B23C33 #6AB233 #33AAB2
split-complementary
#7B33B2 #AAB233 #33B23C
monochromatic
#391853 #5A2582 #7B33B2 #9954CE #B684DC

Accessibility & contrast

On white

7.10
#7B33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7B33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B33B2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33B2#FFFFFF#000000##FFFFFF
##7B33B21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0059AF
Tritanopia (blue-blind)
#71506F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b33b2;
/* rgb */ color: rgb(123, 51, 178);
/* oklch */ color: oklch(48.5% 0.193 306.3);
Tailwind
colors: {
  custom: {
    50: '#a671ca',
    500: '#7b33b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b33b2;
$custom-light: #a671ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33b2",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 274.016,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.19263,
    "h": 306.3
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#7B33B2
secondary
#9BC57C
accent
#DF498A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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