#7B30AF#7B30AF

#7B30AF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.193 H 307.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7B30AF
RGBrgb(123, 48, 175)
HSLhsl(275, 57%, 44%)
HSVhsv(275, 73%, 69%)
CMYKcmyk(29.7%, 72.6%, 0%, 31.4%)
CIE-LABlab(36.78, 54.00, -53.98)
CIE-LCHlch(36.78, 76.35, 315.01°)
OKLaboklab(47.91% 0.1177 -0.1532)
OKLCHoklch(47.91% 0.193 307.5)
XYZxyz(16.9616, 9.4202, 41.4739)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30AF #64AF30
analogous
#3B30AF #7B30AF #AF30A3
triadic
#7B30AF #AF7B30 #30AF7B
tetradic
#7B30AF #AF3B30 #64AF30 #30A3AF
square
#7B30AF #AF3B30 #64AF30 #30A3AF
split-complementary
#7B30AF #A3AF30 #30AF3B
monochromatic
#37164F #59237F #7B30AF #9A4ECE #B57EDC

Accessibility & contrast

On white

7.28
#7B30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B30AF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30AF#FFFFFF#000000##FFFFFF
##7B30AF1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0257AC
Tritanopia (blue-blind)
#724E6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b30af;
/* rgb */ color: rgb(123, 48, 175);
/* oklch */ color: oklch(47.9% 0.193 307.5);
Tailwind
colors: {
  custom: {
    50: '#a66fc8',
    500: '#7b30af',
    950: '#000000',
  },
}
SCSS
$custom: #7b30af;
$custom-light: #a66fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30af",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 275.433,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.19316,
    "h": 307.5
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#7B30AF
secondary
#96C476
accent
#E04886
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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