#7B30AB#7B30AB

#7B30AB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.189 H 308.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7B30AB
RGBrgb(123, 48, 171)
HSLhsl(277, 56%, 43%)
HSVhsv(277, 72%, 67%)
CMYKcmyk(28.1%, 71.9%, 0%, 32.9%)
CIE-LABlab(36.49, 53.09, -52.06)
CIE-LCHlch(36.49, 74.36, 315.56°)
OKLaboklab(47.61% 0.1183 -0.1476)
OKLCHoklch(47.61% 0.189 308.7)
XYZxyz(16.5745, 9.2654, 39.4354)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30AB #60AB30
analogous
#3D30AB #7B30AB #AB309D
triadic
#7B30AB #AB7B30 #30AB7B
tetradic
#7B30AB #AB3D30 #60AB30 #309DAB
square
#7B30AB #AB3D30 #60AB30 #309DAB
split-complementary
#7B30AB #9DAB30 #30AB3D
monochromatic
#36154B #59237B #7B30AB #9A4CCD #B57BDA

Accessibility & contrast

On white

7.36
#7B30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7B30AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30AB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30AB#FFFFFF#000000##FFFFFF
##7B30AB1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1057A8
Tritanopia (blue-blind)
#744C6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b30ab;
/* rgb */ color: rgb(123, 48, 171);
/* oklch */ color: oklch(47.6% 0.189 308.7);
Tailwind
colors: {
  custom: {
    50: '#a66fc5',
    500: '#7b30ab',
    950: '#000000',
  },
}
SCSS
$custom: #7b30ab;
$custom-light: #a66fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30ab",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 276.585,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.18913,
    "h": 308.7
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#7B30AB
secondary
#93C374
accent
#DF4883
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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