#7B30B8#7B30B8

#7B30B8 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.202 H 305.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7B30B8
RGBrgb(123, 48, 184)
HSLhsl(273, 59%, 45%)
HSVhsv(273, 74%, 72%)
CMYKcmyk(33.2%, 73.9%, 0%, 27.8%)
CIE-LABlab(37.45, 56.06, -58.22)
CIE-LCHlch(37.45, 80.82, 313.92°)
OKLaboklab(48.59% 0.116 -0.1656)
OKLCHoklch(48.59% 0.202 305)
XYZxyz(17.8751, 9.7857, 46.2852)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30B8 #6DB830
analogous
#3730B8 #7B30B8 #B830B1
triadic
#7B30B8 #B87B30 #30B87B
tetradic
#7B30B8 #B83730 #6DB830 #30B1B8
square
#7B30B8 #B83730 #6DB830 #30B1B8
split-complementary
#7B30B8 #B1B830 #30B837
monochromatic
#3A1757 #5B2387 #7B30B8 #9953D2 #B684DF

Accessibility & contrast

On white

7.10
#7B30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7B30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30B8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30B8#FFFFFF#000000##FFFFFF
##7B30B81.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#705172
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b30b8;
/* rgb */ color: rgb(123, 48, 184);
/* oklch */ color: oklch(48.6% 0.202 305.0);
Tailwind
colors: {
  custom: {
    50: '#a770ce',
    500: '#7b30b8',
    950: '#000000',
  },
}
SCSS
$custom: #7b30b8;
$custom-light: #a770ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30b8",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 273.088,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.20225,
    "h": 305
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#7B30B8
secondary
#9EC87C
accent
#E2468C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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