#7B30B3#7B30B3

#7B30B3 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.197 H 306.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7B30B3
RGBrgb(123, 48, 179)
HSLhsl(274, 58%, 45%)
HSVhsv(274, 73%, 70%)
CMYKcmyk(31.3%, 73.2%, 0%, 29.8%)
CIE-LABlab(37.08, 54.91, -55.87)
CIE-LCHlch(37.08, 78.34, 314.50°)
OKLaboklab(48.21% 0.117 -0.1588)
OKLCHoklch(48.21% 0.197 306.4)
XYZxyz(17.3602, 9.5797, 43.5736)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30B3 #68B330
analogous
#3A30B3 #7B30B3 #B330AA
triadic
#7B30B3 #B37B30 #30B37B
tetradic
#7B30B3 #B33A30 #68B330 #30AAB3
square
#7B30B3 #B33A30 #68B330 #30AAB3
split-complementary
#7B30B3 #AAB330 #30B33A
monochromatic
#391652 #5A2383 #7B30B3 #9950D0 #B580DD

Accessibility & contrast

On white

7.20
#7B30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B30B3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30B3#FFFFFF#000000##FFFFFF
##7B30B31.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#714F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b30b3;
/* rgb */ color: rgb(123, 48, 179);
/* oklch */ color: oklch(48.2% 0.197 306.4);
Tailwind
colors: {
  custom: {
    50: '#a66fcb',
    500: '#7b30b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b30b3;
$custom-light: #a66fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30b3",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 274.351,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.1972,
    "h": 306.4
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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