#7B30AE#7B30AE

#7B30AE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.192 H 307.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7B30AE
RGBrgb(123, 48, 174)
HSLhsl(276, 57%, 44%)
HSVhsv(276, 72%, 68%)
CMYKcmyk(29.3%, 72.4%, 0%, 31.8%)
CIE-LABlab(36.71, 53.77, -53.50)
CIE-LCHlch(36.71, 75.85, 315.14°)
OKLaboklab(47.83% 0.1178 -0.1518)
OKLCHoklch(47.83% 0.192 307.8)
XYZxyz(16.8637, 9.3811, 40.9585)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30AE #63AE30
analogous
#3C30AE #7B30AE #AE30A2
triadic
#7B30AE #AE7B30 #30AE7B
tetradic
#7B30AE #AE3C30 #63AE30 #30A2AE
square
#7B30AE #AE3C30 #63AE30 #30A2AE
split-complementary
#7B30AE #A2AE30 #30AE3C
monochromatic
#37164E #59237E #7B30AE #9A4DCE #B57DDB

Accessibility & contrast

On white

7.30
#7B30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7B30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30AE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30AE#FFFFFF#000000##FFFFFF
##7B30AE1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0657AB
Tritanopia (blue-blind)
#734D6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b30ae;
/* rgb */ color: rgb(123, 48, 174);
/* oklch */ color: oklch(47.8% 0.192 307.8);
Tailwind
colors: {
  custom: {
    50: '#a66fc7',
    500: '#7b30ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b30ae;
$custom-light: #a66fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30ae",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 275.714,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.19215,
    "h": 307.8
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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