#7B30AD#7B30AD

#7B30AD is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 308.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7B30AD
RGBrgb(123, 48, 173)
HSLhsl(276, 57%, 43%)
HSVhsv(276, 72%, 68%)
CMYKcmyk(28.9%, 72.3%, 0%, 32.2%)
CIE-LABlab(36.63, 53.54, -53.02)
CIE-LCHlch(36.63, 75.35, 315.28°)
OKLaboklab(47.76% 0.118 -0.1504)
OKLCHoklch(47.76% 0.191 308.1)
XYZxyz(16.7666, 9.3422, 40.4470)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30AD #62AD30
analogous
#3C30AD #7B30AD #AD30A0
triadic
#7B30AD #AD7B30 #30AD7B
tetradic
#7B30AD #AD3C30 #62AD30 #30A0AD
square
#7B30AD #AD3C30 #62AD30 #30A0AD
split-complementary
#7B30AD #A0AD30 #30AD3C
monochromatic
#37154D #59237D #7B30AD #9A4DCE #B57DDB

Accessibility & contrast

On white

7.32
#7B30AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7B30AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30AD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30AD#FFFFFF#000000##FFFFFF
##7B30AD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0A57AA
Tritanopia (blue-blind)
#734D6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b30ad;
/* rgb */ color: rgb(123, 48, 173);
/* oklch */ color: oklch(47.8% 0.191 308.1);
Tailwind
colors: {
  custom: {
    50: '#a66fc6',
    500: '#7b30ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b30ad;
$custom-light: #a66fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30ad",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 276,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.19114,
    "h": 308.1
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#7B30AD
secondary
#95C375
accent
#E04885
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B30AD

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

Preview Lab → · Contrast checker → · Palette generator →

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