#7B30AC#7B30AC

#7B30AC is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.190 H 308.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7B30AC
RGBrgb(123, 48, 172)
HSLhsl(276, 56%, 43%)
HSVhsv(276, 72%, 67%)
CMYKcmyk(28.5%, 72.1%, 0%, 32.5%)
CIE-LABlab(36.56, 53.32, -52.54)
CIE-LCHlch(36.56, 74.86, 315.42°)
OKLaboklab(47.68% 0.1181 -0.149)
OKLCHoklch(47.68% 0.19 308.4)
XYZxyz(16.6702, 9.3037, 39.9393)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30AC #61AC30
analogous
#3D30AC #7B30AC #AC309F
triadic
#7B30AC #AC7B30 #30AC7B
tetradic
#7B30AC #AC3D30 #61AC30 #309FAC
square
#7B30AC #AC3D30 #61AC30 #309FAC
split-complementary
#7B30AC #9FAC30 #30AC3D
monochromatic
#37154C #59237C #7B30AC #9A4CCD #B57CDA

Accessibility & contrast

On white

7.34
#7B30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7B30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30AC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30AC#FFFFFF#000000##FFFFFF
##7B30AC1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0D57A9
Tritanopia (blue-blind)
#734C6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b30ac;
/* rgb */ color: rgb(123, 48, 172);
/* oklch */ color: oklch(47.7% 0.190 308.4);
Tailwind
colors: {
  custom: {
    50: '#a66fc5',
    500: '#7b30ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b30ac;
$custom-light: #a66fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30ac",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 276.29,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.19013,
    "h": 308.4
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#7B30AC
secondary
#94C375
accent
#E04884
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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