#7B30BB#7B30BB

#7B30BB is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.205 H 304.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7B30BB
RGBrgb(123, 48, 187)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 74%, 73%)
CMYKcmyk(34.2%, 74.3%, 0%, 26.7%)
CIE-LABlab(37.69, 56.75, -59.61)
CIE-LCHlch(37.69, 82.30, 313.59°)
OKLaboklab(48.83% 0.1154 -0.1697)
OKLCHoklch(48.83% 0.205 304.2)
XYZxyz(18.1929, 9.9128, 47.9590)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30BB #70BB30
analogous
#3530BB #7B30BB #BB30B5
triadic
#7B30BB #BB7B30 #30BB7B
tetradic
#7B30BB #BB3530 #70BB30 #30B5BB
square
#7B30BB #BB3530 #70BB30 #30B5BB
split-complementary
#7B30BB #B5BB30 #30BB35
monochromatic
#3B175A #5B238A #7B30BB #9955D3 #B686E0

Accessibility & contrast

On white

7.04
#7B30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7B30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30BB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30BB#FFFFFF#000000##FFFFFF
##7B30BB1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#6F5273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b30bb;
/* rgb */ color: rgb(123, 48, 187);
/* oklch */ color: oklch(48.8% 0.205 304.2);
Tailwind
colors: {
  custom: {
    50: '#a770d0',
    500: '#7b30bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b30bb;
$custom-light: #a770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30bb",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 272.374,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48829,
    "c": 0.20527,
    "h": 304.2
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#7B30BB
secondary
#A0C97D
accent
#E2458E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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