#7B30B4#7B30B4

#7B30B4 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.3% C 0.198 H 306.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7B30B4
RGBrgb(123, 48, 180)
HSLhsl(274, 58%, 45%)
HSVhsv(274, 73%, 71%)
CMYKcmyk(31.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(37.15, 55.14, -56.34)
CIE-LCHlch(37.15, 78.83, 314.38°)
OKLaboklab(48.29% 0.1168 -0.1601)
OKLCHoklch(48.29% 0.198 306.1)
XYZxyz(17.4617, 9.6203, 44.1082)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30B4 #69B430
analogous
#3930B4 #7B30B4 #B430AB
triadic
#7B30B4 #B47B30 #30B47B
tetradic
#7B30B4 #B43930 #69B430 #30ABB4
square
#7B30B4 #B43930 #69B430 #30ABB4
split-complementary
#7B30B4 #ABB430 #30B439
monochromatic
#391653 #5A2384 #7B30B4 #9951D1 #B681DD

Accessibility & contrast

On white

7.18
#7B30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7B30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30B4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30B4#FFFFFF#000000##FFFFFF
##7B30B41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#71506F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b30b4;
/* rgb */ color: rgb(123, 48, 180);
/* oklch */ color: oklch(48.3% 0.198 306.1);
Tailwind
colors: {
  custom: {
    50: '#a66fcb',
    500: '#7b30b4',
    950: '#000000',
  },
}
SCSS
$custom: #7b30b4;
$custom-light: #a66fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30b4",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 274.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.19821,
    "h": 306.1
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#7B30B4
secondary
#9BC679
accent
#E14789
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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