#7B30BA#7B30BA

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

Color values

HEX#7B30BA
RGBrgb(123, 48, 186)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 74%, 73%)
CMYKcmyk(33.9%, 74.2%, 0%, 27.1%)
CIE-LABlab(37.61, 56.52, -59.15)
CIE-LCHlch(37.61, 81.81, 313.70°)
OKLaboklab(48.75% 0.1156 -0.1684)
OKLCHoklch(48.75% 0.204 304.5)
XYZxyz(18.0862, 9.8701, 47.3972)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30BA #6FBA30
analogous
#3630BA #7B30BA #BA30B4
triadic
#7B30BA #BA7B30 #30BA7B
tetradic
#7B30BA #BA3630 #6FBA30 #30B4BA
square
#7B30BA #BA3630 #6FBA30 #30B4BA
split-complementary
#7B30BA #B4BA30 #30BA36
monochromatic
#3B1759 #5B2389 #7B30BA #9954D3 #B685DF

Accessibility & contrast

On white

7.06
#7B30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30BA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30BA#FFFFFF#000000##FFFFFF
##7B30BA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#6F5273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b30ba;
/* rgb */ color: rgb(123, 48, 186);
/* oklch */ color: oklch(48.8% 0.204 304.5);
Tailwind
colors: {
  custom: {
    50: '#a770d0',
    500: '#7b30ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b30ba;
$custom-light: #a770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30ba",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 272.609,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4875,
    "c": 0.20427,
    "h": 304.5
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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